diff options
author | Robert Hensing <robert@roberthensing.nl> | 2018-10-28 02:09:43 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2018-10-28 02:09:43 +0200 |
commit | 5f894a67f565129ac683434c3040ba85c2df3750 (patch) | |
tree | 176d746f7f3e969eae8e45064cd2082f1ee474a1 /nixos/modules | |
parent | a54a799d59f2a4fba2e119e0c42dbe96c2c74a68 (diff) |
nixos/modules/misc/nixpkgs.nix: Use pure Nixpkgs function
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/misc/nixpkgs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix index 3e9f93b95e64..ee85f8c7ab96 100644 --- a/nixos/modules/misc/nixpkgs.nix +++ b/nixos/modules/misc/nixpkgs.nix @@ -55,7 +55,7 @@ let check = builtins.isAttrs; }; - defaultPkgs = import ../../.. { + defaultPkgs = import ../../../pkgs/top-level/default.nix { inherit (cfg) config overlays localSystem crossSystem; }; @@ -68,7 +68,7 @@ in pkgs = mkOption { defaultText = literalExample - ''import "''${nixos}/.." { + ''import "''${nixos}/../pkgs/top-level" { inherit (cfg) config overlays localSystem crossSystem; } ''; |