remove dependency on /nix, so we can build NixOS inside NixOS

svn path=/nixu/trunk/; revision=3747
This commit is contained in:
Armijn Hemel 2005-08-30 11:23:56 +00:00
parent 142cef0a9e
commit 1581e0c08e

View file

@ -20,7 +20,7 @@ touch ${archivesDir}/blah
chmod -f -R +w ${archivesDir}/*
rm -rf ${archivesDir}/*
NIX_CMD_PATH=/nix/bin
NIX_CMD_PATH=$(dirname $(which nix-store))
storeExpr=$($NIX_CMD_PATH/nix-store -qR $($NIX_CMD_PATH/nix-store -r $(echo '(import ./pkgs.nix).everything' | $NIX_CMD_PATH/nix-instantiate -)))
#$NIX_CMD_PATH/nix-push --copy $archivesDir $manifest $(nix-store -r $storeExpr) $(nix-store -r $(echo '(import ./pkgs.nix).kernel' | $NIX_CMD_PATH/nix-instantiate -))
@ -216,7 +216,7 @@ cp -fau --parents ${coreUtilsDiet} ${initdir}
cp -fau --parents ${e2fsProgs} ${initdir}
cp -fau --parents ${modUtils} ${initdir}
cp -fau --parents ${hotplug} ${initdir}
cp -fau --parents ${which} ${initdir}
#cp -fau --parents ${which} ${initdir}
touch ${initdir}/NIXOS