mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
b6b5bafa22
svn path=/nixos/trunk/; revision=7533
9 lines
237 B
Bash
Executable File
9 lines
237 B
Bash
Executable File
#! /bin/sh -e
|
|
if test -z "$NIXOS_CONFIG"; then
|
|
NIXOS_CONFIG=/etc/nixos/configuration.nix
|
|
fi
|
|
nix-build system/system.nix \
|
|
--arg configuration "import $NIXOS_CONFIG" \
|
|
-A system -K -k
|
|
./result/bin/switch-to-configuration test
|