mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 16:40:12 +00:00
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…
Reference in a new issue