In $NIX_PATH, use nixpkgs=...

This is required by the "nix" command to find Nixpkgs.
This commit is contained in:
Eelco Dolstra 2016-08-29 17:26:01 +02:00
parent 822e1ddd89
commit 2755bcfa7c

View file

@ -311,7 +311,7 @@ in
nixPath = mkOption {
type = types.listOf types.str;
default =
[ "/nix/var/nix/profiles/per-user/root/channels/nixos"
[ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs"
"nixos-config=/etc/nixos/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
];