summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/eval-test.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/eval-test.sh b/tests/eval-test.sh
index 00970b7..5be9103 100755
--- a/tests/eval-test.sh
+++ b/tests/eval-test.sh
@@ -7,10 +7,11 @@ find=(find . -name default.nix)
for profile in `${find[@]}`; do
echo evaluating $profile >&2
- nixos-rebuild \
- -I nixos-config=tests/eval-test.nix \
- -I nixos-hardware-profile=$profile \
- dry-build
+ nix-build '<nixpkgs/nixos>' \
+ -I nixos-config=tests/eval-test.nix \
+ -I nixos-hardware-profile=$profile \
+ -A system \
+ --dry-run
if [ $? -ne 0 ]; then
exit 1