mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03: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
|
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…
Reference in New Issue
Block a user