mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
tests: drop -test prefix to match naming style used by NixOS tests
This commit is contained in:
16
tests/eval.sh
Executable file
16
tests/eval.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
for profile in $(find . -name default.nix); do
|
||||
echo evaluating $profile >&2
|
||||
|
||||
nix-build '<nixpkgs/nixos>' \
|
||||
-I nixos-config=tests/eval.nix \
|
||||
-I nixos-hardware-profile=$profile \
|
||||
-A system \
|
||||
--dry-run \
|
||||
--show-trace
|
||||
done
|
||||
Reference in New Issue
Block a user