nixpkgs/upgrade.sh
Eelco Dolstra 0817c307dc * Moving stuff around.
svn path=/nixos/trunk/; revision=7155
2006-11-27 19:49:05 +00:00

5 lines
169 B
Bash
Executable File

#! /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