about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorMauricio Collares <mauricio@collares.org>2024-04-02 14:35:25 +0200
committerGitHub <noreply@github.com>2024-04-02 14:35:25 +0200
commit25283f17ee5fa027ef9caf38c76edbeec5f9e013 (patch)
treefc57d30dc1ea8ced367b91cba230026dc7335bc4 /pkgs/applications/science
parent87eef3e3c48626743460cb6ec98f32b25fc515b9 (diff)
parente9488dbea7413f76285b85906e0adff7febac00b (diff)
Merge pull request #300930 from collares/sage-quaternionalgebra
sage: work around QuaternionAlgebra random test failure
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/sage/sage-src.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix
index 11bcc9ee3d5a5..00ef5d428337d 100644
--- a/pkgs/applications/science/math/sage/sage-src.nix
+++ b/pkgs/applications/science/math/sage/sage-src.nix
@@ -53,6 +53,13 @@ stdenv.mkDerivation rec {
     # algorithm soon, disable this test for now.
     # https://github.com/sagemath/sage/issues/34575
     ./patches/disable-slow-glpk-test.patch
+
+    # https://github.com/sagemath/sage/pull/37489, landed in 10.4.beta1
+    (fetchpatch {
+      name = "quaternionalgebra-random-failure.patch";
+      url = "https://github.com/sagemath/sage/commit/1c3f991b9d3c5778e409e5414c6cfcd456113f19.diff";
+      hash = "sha256-uCXchYx26DdxTjR1k2748KCEHPnekKS2fAM7SpyhNvM=";
+    })
   ];
 
   # Patches needed because of package updates. We could just pin the versions of