mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-27 19:46:40 +03:00
* Use nix-env --set.
svn path=/nixos/trunk/; revision=7331
This commit is contained in:
parent
07627d8cdd
commit
d663f88c65
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ if test -z "$NIXOS_CONFIG"; then
|
||||||
fi
|
fi
|
||||||
nix-env -p /nix/var/nix/profiles/system -f configuration/system.nix \
|
nix-env -p /nix/var/nix/profiles/system -f configuration/system.nix \
|
||||||
--arg configuration "import $NIXOS_CONFIG" \
|
--arg configuration "import $NIXOS_CONFIG" \
|
||||||
-i -A system
|
--set -A system
|
||||||
/nix/var/nix/profiles/system/bin/switch-to-configuration switch
|
/nix/var/nix/profiles/system/bin/switch-to-configuration switch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue