mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-06-02 02:53:34 +02:00
16 lines
273 B
Bash
Executable File
16 lines
273 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-test.nix \
|
|
-I nixos-hardware-profile=$profile \
|
|
-A system \
|
|
--dry-run
|
|
done
|