nixpkgs/test.sh
Eelco Dolstra 06256e22d8 * A script to test configurations, i.e., make them current without
making them the boot default.  So if we screw up, we can just reset
  to get back to normal.

svn path=/nixos/trunk/; revision=7303
2006-12-11 01:03:26 +00:00

4 lines
138 B
Bash
Executable file

#! /bin/sh
set -e
nix-build configuration/system-configuration.nix -A systemConfiguration -K -k
./result/bin/switch-to-configuration test