Skip to content

Commit

Permalink
silently skip systems that we cannot build for
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Dec 2, 2022
1 parent 0cd803c commit ec31a96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nix/automation/pipelines.nix
Expand Up @@ -18,7 +18,11 @@
};

command.text = config.preset.github.status.lib.reportBulk {
bulk.text = "nix eval .#hydraJobs --apply __attrNames --json | nix-systems -i";
bulk.text = ''
nix eval .#hydraJobs --apply __attrNames --json |
nix-systems -i |
jq 'with_entries(select(.value))' # filter out systems that we cannot build for
'';
each.text = ''nix build -L .#hydraJobs."$1".required'';
skippedDescription = lib.escapeShellArg "No nix builder available for this system";
};
Expand Down

0 comments on commit ec31a96

Please sign in to comment.