From d663f88c652ecd115a1c126aebbed2b51d51a432 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 Dec 2006 12:21:06 +0000 Subject: [PATCH] * Use nix-env --set. svn path=/nixos/trunk/; revision=7331 --- upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.sh b/upgrade.sh index 19307ac1e1d1..7bd921f3d833 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -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