Skip to content

Commit 567fdea

Browse files
committed
Fix for buildkite and add comment
1 parent 792b953 commit 567fdea

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

release.nix

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@ let
4141
echo "file binary-dist $out/${drv.name}.zip" > $out/nix-support/hydra-build-products
4242
'';
4343
in makeBinDist pkgs.pkgsCross.mingwW64.secp256k1;
44+
# This job causes in eval if we include everything.
45+
# For now just including some darwin checks (since thos are not done on cicero)
4446
required = defaultNix.pkgs.releaseTools.aggregate {
4547
name = "github-required";
4648
meta.description = "All jobs required to pass CI";
47-
constituents = lib.collect lib.isDerivation {
48-
# linux-ghc8107 = jobs.x86_64-linux.required-unstable-ghc8107-native;
49-
darwin-ghc8107 = jobs.x86_64-darwin.required-unstable-ghc8107-native;
50-
# linux-ghc924 = jobs.x86_64-linux.required-unstable-ghc924-native;
51-
darwin-ghc924 = jobs.x86_64-darwin.required-unstable-ghc924-native;
52-
};
49+
constituents = lib.collect lib.isDerivation (
50+
lib.optionalAttrs (jobs ? x86_64-darwin) {
51+
darwin-ghc8107 = jobs.x86_64-darwin.required-unstable-ghc8107-native;
52+
darwin-ghc924 = jobs.x86_64-darwin.required-unstable-ghc924-native;
53+
}
54+
);
5355
};
5456
in
5557
traceNames "job " (jobs // { inherit windows-secp256k1 required; })

0 commit comments

Comments
 (0)