mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-24 02:29:44 +01:00
b63e0eb372
This reverts commit 4d498aff1a
.
18 lines
286 B
Bash
Executable file
18 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
|