on iko/ghcjs-patch-master help sign in
Smaller `required` jobs (#990)

We still seem to be getting some OOM errors. This is likely to be because some of the required jobs are still very large (with multiple cross compilation target platforms). Hopefully breaking these out will help.

commite02d5a8ca42d10577a4e78e64e4e8c52afeaacd4 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateWed 6 Jan 2021, 17:40 (6 years ago) parentf6bc2f7
1 file changed+11−8
release.nix+11−8
release.nix+11−8
@@ -26,14 +26,17 @@ let
2626 let nixpkgsJobs = allJobs.${nixpkgsVer};
2727 in lib.concatMap (compiler-nix-name:
2828 let ghcJobs = nixpkgsJobs.${compiler-nix-name};
29− in builtins.map (platform: {
30− name = "required-${nixpkgsVer}-${compiler-nix-name}-${platform}";
31− value = genericPkgs.releaseTools.aggregate {
32− name = "haskell.nix-${nixpkgsVer}-${compiler-nix-name}-${platform}";
33− meta.description = "All ${nixpkgsVer} ${compiler-nix-name} ${platform} jobs";
34− constituents = lib.collect (d: lib.isDerivation d) ghcJobs.${platform};
35− };
36− }) (names ghcJobs)
29+ in builtins.concatMap (platform:
30+ let platformJobs = ghcJobs.${platform};
31+ in builtins.map (crossPlatform: {
32+ name = "required-${nixpkgsVer}-${compiler-nix-name}-${platform}-${crossPlatform}";
33+ value = genericPkgs.releaseTools.aggregate {
34+ name = "haskell.nix-${nixpkgsVer}-${compiler-nix-name}-${platform}-${crossPlatform}";
35+ meta.description = "All ${nixpkgsVer} ${compiler-nix-name} ${platform} ${crossPlatform} jobs";
36+ constituents = lib.collect (d: lib.isDerivation d) platformJobs.${crossPlatform};
37+ };
38+ }) (names platformJobs)
39+ ) (names ghcJobs)
3740 ) (names nixpkgsJobs)
3841 ) (names allJobs));
3942in latestJobs // requiredJobs // {