Skip to content

Commit ec4d60b

Browse files
jbgiangerman
authored andcommitted
reduce hydraJobs to only one required job to get only one status notif
waiting for a better notif filtering mecanism. Signed-off-by: Moritz Angermann <[email protected]>
1 parent cd89e94 commit ec4d60b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,14 @@
369369
in
370370
removeAttrs flake [ "ciJobsPrs" ] // {
371371

372-
hydraJobs = flake.ciJobsPrs // (let pkgs = self.legacyPackages.${defaultSystem}; in {
372+
hydraJobs = let pkgs = self.legacyPackages.${defaultSystem}; in {
373373
inherit (pkgs.callPackages iohkNix.utils.ciJobsAggregates {
374374
ciJobs = lib.mapAttrs (_: lib.getAttr "required") flake.ciJobsPrs // {
375375
# ensure hydra notify:
376376
gitrev = pkgs.writeText "gitrev" pkgs.gitrev;
377377
};
378378
}) required;
379-
});
379+
};
380380

381381
# allows precise paths (avoid fallbacks) with nix build/eval:
382382
outputs = self;

0 commit comments

Comments
 (0)