mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +01:00
16 lines
287 B
Bash
Executable file
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
|