hydra
hydra copied to clipboard
Allow customize flake attribute built.
Use case: for a same repo we can have multiple jobsets, eg, one that run integration tests; one that does do cache test failures.
Ie. this is to replace the lack of inputs feature for flake jobsets.
this works well! thanks
This PR is probably unnecessary: I did not realized that the flake hydraJobs attribute can be a function and receive the same inputs attribute set as release.nix.
The only issue being with nix flake check/nix flake show: https://github.com/NixOS/nix/issues/7031
This has still been useful as a way to make the jobsets separate. Rebase of the patch is here: https://github.com/NixOS/hydra/commit/7f5cf4d6af8e0f9c0765e3203c19a2ae771382b1
@edolstra what is your opinion on this? Should this be supported?