Revert "nixos/modules/misc/nixpkgs.nix: Use pure Nixpkgs function"
As a workaround for #51025 and https://github.com/NixOS/nix/issues/1232 This reverts commit 5f894a67f565129ac683434c3040ba85c2df3750.
This commit is contained in:
parent
e8c9962957
commit
db70173627
@ -55,7 +55,7 @@ let
|
|||||||
check = builtins.isAttrs;
|
check = builtins.isAttrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPkgs = import ../../../pkgs/top-level/default.nix {
|
defaultPkgs = import ../../.. {
|
||||||
inherit (cfg) config overlays localSystem crossSystem;
|
inherit (cfg) config overlays localSystem crossSystem;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ in
|
|||||||
|
|
||||||
pkgs = mkOption {
|
pkgs = mkOption {
|
||||||
defaultText = literalExample
|
defaultText = literalExample
|
||||||
''import "''${nixos}/../pkgs/top-level" {
|
''import "''${nixos}/.." {
|
||||||
inherit (cfg) config overlays localSystem crossSystem;
|
inherit (cfg) config overlays localSystem crossSystem;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user