nixpkgs/test.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

6 lines
176 B
Bash
Executable file

#! /bin/sh
set -e
nix-build configuration/system.nix \
--arg configuration 'import ./instances/example.nix' \
-A system -K -k
./result/bin/switch-to-configuration test