482a6625a9
svn path=/nixos/trunk/; revision=7319
8 lines
244 B
Bash
Executable file
8 lines
244 B
Bash
Executable file
#! /bin/sh -e
|
|
if test -z "$NIXOS_CONFIG"; then
|
|
NIXOS_CONFIG=/etc/nixos/configuration.nix
|
|
fi
|
|
nix-build configuration/system.nix \
|
|
--arg configuration "import $NIXOS_CONFIG" \
|
|
-A system -K -k
|
|
./result/bin/switch-to-configuration test
|