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 ];