nixos-install: Append the default nixos-channel path to $NIX_PATH

This commit is contained in:
Shea Levy 2013-02-05 09:44:00 -05:00
parent 05f01685a0
commit 98b7253b29

View file

@ -159,6 +159,7 @@ done
# Get the absolute path to the NixOS/Nixpkgs sources.
export NIX_PATH=${NIX_PATH+$NIX_PATH:}/nix/var/nix/profiles/per-user/root/channels/nixos
nixpkgs_src=$(nix-instantiate --find-file nixpkgs)
nixos_src=$(nix-instantiate --find-file nixos)