nixpkgs/upgrade.sh
Eelco Dolstra 2d0f190f20 * More refactoring: renamed boot-environment.nix to system.nix (since
it does a lot more than just booting), and merged
  system-configuration.nix into system.nix.

svn path=/nixos/trunk/; revision=7318
2006-12-11 17:36:57 +00:00

7 lines
228 B
Bash
Executable file

#! /bin/sh
set -e
nix-env -p /nix/var/nix/profiles/system -f configuration/system.nix \
--arg configuration 'import ./instances/example.nix' \
-i -A system
/nix/var/nix/profiles/system/bin/switch-to-configuration switch