From 434a9ccdba481fb7d85fcf12171238af9ed0fed3 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Fri, 1 Nov 2024 08:47:45 +0100 Subject: [PATCH] sage: fix gc-related hypellfrob.pyx test failure --- pkgs/applications/science/math/sage/sage-src.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix index 9635c30947af..16a551a56cb5 100644 --- a/pkgs/applications/science/math/sage/sage-src.nix +++ b/pkgs/applications/science/math/sage/sage-src.nix @@ -54,6 +54,13 @@ stdenv.mkDerivation rec { # fix those bugs themselves. This is for critical bugfixes, where "critical" # == "causes (transient) doctest failures / somebody complained". bugfixPatches = [ + # https://github.com/sagemath/sage/pull/38628, landed in 10.5.beta4 + (fetchpatch { + name = "pari-stack-cysignals-exception.patch"; + url = "https://github.com/sagemath/sage/commit/4a9c985b769b1209902c970ade1892f18ab48c10.diff"; + hash = "sha256-S6NdonB7needJlQdx52Huk34Q8/vG3nyGicA5JpsdWc="; + }) + # https://github.com/sagemath/sage/pull/38851, landed in 10.5.beta8 (fetchpatch { name = "glpk-aarch64-hang-workaround.patch";