Merge pull request #177865 from thiagokokada/fix-graalvm-zlib

graalvmXX-ce: use a patched version of zlib
This commit is contained in:
Thiago Kenji Okada 2022-06-16 22:47:34 +01:00 committed by GitHub
commit badd96d6c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ callPackage, Foundation }:
{ callPackage, fetchpatch, zlib, Foundation }:
/*
Add new graal versions and products here and then see update.nix on how to
generate the sources.
@ -7,6 +7,15 @@
let
mkGraal = opts: callPackage (import ./mkGraal.nix opts) {
inherit Foundation;
# remove this once zlib 1.2.13 is released
zlib = zlib.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [
(fetchpatch {
url = "https://github.com/madler/zlib/commit/ec3df00224d4b396e2ac6586ab5d25f673caa4c2.patch";
sha256 = "sha256-jSa3OCigBdpWFDllCWC2rgE9GxCNR0yjsc+bpwPDBEA=";
})
];
});
};
/*