forked from mirrors/nixpkgs
zig: add upstream patch to allow glibc 2.33 builds
This commit is contained in:
parent
6e50ffe704
commit
c1d014a975
|
@ -4,6 +4,7 @@
|
|||
, llvmPackages
|
||||
, libxml2
|
||||
, zlib
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -20,6 +21,14 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-bILjcKX8jPl2n1HRYvYRb7jJkobwqmSJ+hHXSn9n2ag=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# glibc 2.33 support
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ziglang/zig/commit/0fee4b55a8c58791238efe6bf2da5ce3435a5cc1.patch";
|
||||
sha256 = "sha256-waVtolUlmGrfiRk4tWsSOij5MfUc+g57DatC6GtSx6c=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
llvmPackages.llvm.dev
|
||||
|
|
Loading…
Reference in a new issue