1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 11:03:33 +02:00
nixos-hardware/tests/eval-test.sh
Yegor Timoshenko b63e0eb372
Revert "tests: move to _tests"
This reverts commit 4d498aff1a.
2017-12-24 22:21:53 +00:00

19 lines
286 B
Bash
Executable File

#!/bin/sh
cd $(dirname $0)/..
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
if [ $? -ne 0 ]; then
exit 1
fi
done