From a052c414699bd7be83720086cfa69e2707657477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 30 Aug 2023 13:57:55 +0200 Subject: [PATCH] improve ci check --- flake.nix | 1 + scripts/ci | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index cf9d45ab..79119ed3 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ "x86_64-linux" "aarch64-linux" ]; + flake.clanModules = { }; imports = [ ./checks/flake-module.nix ./devShell.nix diff --git a/scripts/ci b/scripts/ci index c39be836..85e76654 100755 --- a/scripts/ci +++ b/scripts/ci @@ -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"