mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
tests/eval-test: clean up
This commit is contained in:
parent
83890749b2
commit
459ac00c62
1 changed files with 9 additions and 13 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)/..
|
||||
set -e
|
||||
|
||||
find=(find . -name default.nix)
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
for profile in `${find[@]}`; do
|
||||
for profile in $(find . -name default.nix); do
|
||||
echo evaluating $profile >&2
|
||||
|
||||
nix-build '<nixpkgs/nixos>' \
|
||||
|
@ -12,8 +12,4 @@ for profile in `${find[@]}`; do
|
|||
-I nixos-hardware-profile=$profile \
|
||||
-A system \
|
||||
--dry-run
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue