mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
482a6625a9
svn path=/nixos/trunk/; revision=7319
9 lines
244 B
Bash
Executable File
9 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
|