forked from mirrors/nixpkgs
* Use nix-env --set.
svn path=/nixos/trunk/; revision=7331
This commit is contained in:
parent
07627d8cdd
commit
d663f88c65
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue