Skip to content

Commit

Permalink
fix: regression over 'nixpkgs'-special-input destystemization
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Feb 17, 2023
1 parent a8215b8 commit 2cb985f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion grow/newImportSignatureFor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ in
cells = deSystemize system cells; # recursion on cells
}
// l.optionalAttrs (cfg.inputs ? nixpkgs) {
nixpkgs = instantiateNixpkgsWith system;
nixpkgs =
(instantiateNixpkgsWith system)
//
# mimick deSystemize behaviour
(builtins.mapAttrs
(system: _: instantiateNixpkgsWith system)
cfg.inputs.nixpkgs.legacyPackages);
}
)

0 comments on commit 2cb985f

Please sign in to comment.