From 98b7253b29358ff1d89838bd743992d6f413f3da Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 5 Feb 2013 09:44:00 -0500 Subject: [PATCH] nixos-install: Append the default nixos-channel path to $NIX_PATH --- modules/installer/tools/nixos-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/installer/tools/nixos-install.sh b/modules/installer/tools/nixos-install.sh index 51270650429..41922652cfb 100644 --- a/modules/installer/tools/nixos-install.sh +++ b/modules/installer/tools/nixos-install.sh @@ -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)