Closed jbgi closed 2 years ago
I don't really like this change. Let's say you have e.g. hydraJobs.tests.foo
(see e.g. https://github.com/NixOS/nix/blob/master/flake.nix) or hydraJobs.haskellPackages.bar
then it'll result in hydraJobs.tests.x86_64-linux.foo
when using eachSystem
which seems quite wrong to me.
So unless we'll revert this, we should try to push system
down as far as possible (e.g. until lib.isDerivation
is true
).
WDYT @jbgi @zimbatm? Unless you'd like to implement this, I'd be happy to file a PR on my own during the next days :)
Sounds good. Otherwise I'll just revert this change.
Preparing a patch :)
hydraJobs
attribute is expected to be of the form(https://nixos.wiki/wiki/Flakes)