Skip to content

Commit

Permalink
reduce hydraJobs to only one required job to get only one status notif
Browse files Browse the repository at this point in the history
 waiting for a better notif filtering mecanism.
  • Loading branch information
jbgi committed Mar 2, 2023
1 parent 433344c commit 825118a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -403,14 +403,14 @@
in
removeAttrs flake [ "ciJobsPrs" ] // {

hydraJobs = flake.ciJobsPrs // (let pkgs = self.legacyPackages.${defaultSystem}; in {
hydraJobs = let pkgs = self.legacyPackages.${defaultSystem}; in {
inherit (pkgs.callPackages iohkNix.utils.ciJobsAggregates {
ciJobs = lib.mapAttrs (_: lib.getAttr "required") flake.ciJobsPrs // {
# ensure hydra notify:
gitrev = pkgs.writeText "gitrev" pkgs.gitrev;
};
}) required;
});
};

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

0 comments on commit 825118a

Please sign in to comment.