Skip to content

Commit

Permalink
Merge pull request #144 from lordkekz/override-nixpkgs-config
Browse files Browse the repository at this point in the history
fix: Override option nixpkgs.config to avoid failed assertion
  • Loading branch information
gytis-ivaskevicius authored May 12, 2024
2 parents 2a91382 + b09bd64 commit fe008c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mkFlake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ let
{
inherit (host) system;
overlays = selectedNixpkgs.overlays;
config = selectedNixpkgs.config // config.nixpkgs.config;
config = selectedNixpkgs.config // hostConfig.nixpkgs.config;
} // { inherit (selectedNixpkgs) name input; };
nixpkgs.config = lib.mkForce { };
}
else { })

Expand Down

0 comments on commit fe008c5

Please sign in to comment.