haskellPackages: filter out Darwin jobs from mergeable job in release-haskell.nix

This commit is contained in:
Dennis Gosnell 2023-03-29 14:39:14 +09:00
parent e3e2955768
commit f9262fba9c

View File

@ -557,7 +557,16 @@ let
'';
maintainers = lib.teams.haskell.members;
};
constituents = accumulateDerivations [
constituents =
let
# Filter out all Darwin derivations. We don't want flakey Darwin
# derivations and flakey Hydra Darwin builders to block the
# mergeable job from successfully building.
filterInLinux =
lib.filter (drv: drv.system == "x86_64-linux" || drv.system == "aarch64-linux");
in
filterInLinux
(accumulateDerivations [
# haskell specific tests
jobs.tests.haskell
# important top-level packages
@ -584,7 +593,7 @@ let
jobs.haskellPackages.hopenssl
jobs.haskellPackages.hsemail
jobs.haskellPackages.hsyslog
];
]);
};
maintained = pkgs.releaseTools.aggregate {
name = "maintained-haskell-packages";