From 57d85e1387d85b1c2b23bc5a4f5d334751bc2c3f Mon Sep 17 00:00:00 2001 From: Sergei Volkov Date: Tue, 22 Sep 2026 10:02:52 +0200 Subject: [PATCH] julia_112: fix build w/ glibc-2.44 --- pkgs/development/compilers/julia/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/julia/default.nix b/pkgs/development/compilers/julia/default.nix index 769b68e4aef8..6ecbf3b1d297 100644 --- a/pkgs/development/compilers/julia/default.nix +++ b/pkgs/development/compilers/julia/default.nix @@ -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 ];