improve ci check

This commit is contained in:
Jörg Thalheim 2023-08-30 13:57:55 +02:00 committed by Mic92
parent 18eaafc892
commit a052c41469
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,7 @@
"x86_64-linux"
"aarch64-linux"
];
flake.clanModules = { };
imports = [
./checks/flake-module.nix
./devShell.nix

View File

@ -26,7 +26,9 @@ fi
rc=0
for job in $(nix shell --inputs-from '.#' "nixpkgs#nix-eval-jobs" -c nix-eval-jobs "${args[@]}" | jq -r '. | @base64'); do
nix shell --inputs-from '.#' "nixpkgs#nix-eval-jobs" -c nix-eval-jobs "${args[@]}" > "jobs.json"
for job in $(jq -r '. | @base64' < "jobs.json"); do
job=$(echo "$job" | base64 -d)
attr=$(echo "$job" | jq -r .attr)
echo "### $attr"