mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #177865 from thiagokokada/fix-graalvm-zlib
graalvmXX-ce: use a patched version of zlib
This commit is contained in:
commit
badd96d6c3
@ -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=";
|
||||
})
|
||||
];
|
||||
});
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user