nixos-install: Append the default nixos-channel path to $NIX_PATH
This commit is contained in:
parent
05f01685a0
commit
98b7253b29
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user