* Use nix-env --set.

svn path=/nixos/trunk/; revision=7331
This commit is contained in:
Eelco Dolstra 2006-12-13 12:21:06 +00:00
parent 07627d8cdd
commit d663f88c65

View File

@ -4,5 +4,5 @@ if test -z "$NIXOS_CONFIG"; then
fi
nix-env -p /nix/var/nix/profiles/system -f configuration/system.nix \
--arg configuration "import $NIXOS_CONFIG" \
-i -A system
--set -A system
/nix/var/nix/profiles/system/bin/switch-to-configuration switch