1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-23 18:19:44 +01:00
nixos-hardware/tests/eval.sh

16 lines
287 B
Bash
Executable file

#!/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