Add build workflow

This commit is contained in:
2024-10-05 20:42:07 +02:00
parent bf4c685344
commit 4e1001c910
2 changed files with 28 additions and 0 deletions

11
scripts/build-all.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -eo pipefail
packages=$(nix flake show --json --all-systems| \
jq -r '.packages["x86_64-linux"] | keys[] | ".#packages.x86_64-linux.\(.)"')
while IFS= read -r line; do
echo "building package $line"
nix build -L "$line"
echo "done building package $line"
done <<< "$packages"