Add a skip list to test_build

This commit is contained in:
Andreas Zweili 2023-06-05 10:09:24 +02:00
parent 7260d60ca2
commit f3ef539c9d
1 changed files with 11 additions and 0 deletions

View File

@ -2,9 +2,20 @@
set -e
hosts=($(echo `nix eval .#nixosConfigurations --apply 'pkgs: builtins.concatStringsSep " " (builtins.attrNames pkgs)'` | xargs ))
skip=(
"desktop-vm"
"gwyn"
"loki-test"
"test-raspi"
"staubfinger"
)
for host in "${hosts[@]}"
do
if [[ " ${skip[*]} " =~ " ${host} " ]];then
continue
fi
echo $host
nixos-rebuild dry-build --flake .#${host}
echo