julia_112: fix build w/ glibc-2.44

This commit is contained in:
Sergei Volkov
2026-09-22 10:02:52 +02:00
parent f8d1733076
commit 57d85e1387

View File

@@ -104,7 +104,16 @@ in
(import ./generic.nix {
version = "1.12.7";
hash = "sha256-XH2Ft3HeMYXuyp+8LmFz2Lz2109oQYYiqenEOtdSr1E=";
patches = lib.optionals stdenv.hostPlatform.isDarwin [
patches = [
# stackwalk: derive glibc longjmp pointer mangling
# https://github.com/JuliaLang/julia/pull/62777
# Probably not needed after the next release on this branch (1.12.8+)
(fetchpatch2 {
url = "https://github.com/JuliaLang/julia/commit/3e2d8ff4d016f425a894113b7b77cc3b9dcb1cec.patch?full_index=1";
hash = "sha256-R5H8Y/jksfo0HF9AzxQaEHWBYX8N7zZjzd5wFsrv4D0=";
})
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
./patches/1.12/0001-zlib-rpath.patch
./patches/1.12/0002-lbt-blas-detection.patch
];