mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* 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 New Issue
Block a user