hydra.nix Can just return the obj for that name

This commit is contained in:
John Ericson 2024-05-31 18:27:20 -04:00
parent 1c46b9b2c5
commit 300b129fc7
2 changed files with 130 additions and 132 deletions

View file

@ -34,7 +34,6 @@ let
};
in
{
hydraJobs = {
# Binary package for various platforms.
build = forAllSystems (system: self.packages.${system}.nix);
@ -184,5 +183,4 @@ in
binaryTarballs = self.hydraJobs.binaryTarball;
inherit nixpkgsFor;
};
};
}

View file

@ -210,7 +210,7 @@
# 'nix.perl-bindings' packages.
overlays.default = overlayFor (p: p.stdenv);
inherit (import ./build/hydra.nix {
hydraJobs = import ./build/hydra.nix {
inherit
inputs
binaryTarball
@ -221,7 +221,7 @@
nixpkgsFor
self
;
}) hydraJobs;
};
checks = forAllSystems (system: {
binaryTarball = self.hydraJobs.binaryTarball.${system};