* Utility: rebuild the NixOS configuration and switch to it.

svn path=/nixu/trunk/; revision=7149
This commit is contained in:
Eelco Dolstra 2006-11-27 15:32:11 +00:00
parent e68fc42aa3
commit 67bada0886

4
test/upgrade.sh Executable file
View File

@ -0,0 +1,4 @@
#! /bin/sh
set -e
nix-env -p /nix/var/nix/profiles/system -f system-configuration.nix -i -A systemConfiguration
/nix/var/nix/profiles/system/bin/switch-to-configuration