aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix')
-rw-r--r--nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix b/nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix
index 524085e8c01..87c1e07f530 100644
--- a/nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix
+++ b/nixpkgs/pkgs/applications/science/math/sage/sage-with-env.nix
@@ -2,7 +2,8 @@
, lib
, makeWrapper
, sage-env
-, openblasCompat
+, blas
+, lapack
, pkg-config
, three
, singular
@@ -21,6 +22,9 @@
, pythonEnv
}:
+# lots of segfaults with (64 bit) blas
+assert (!blas.isILP64) && (!lapack.isILP64);
+
# Wrapper that combined `sagelib` with `sage-env` to produce an actually
# executable sage. No tests are run yet and no documentation is built.
@@ -29,7 +33,7 @@ let
pythonEnv # for patchShebangs
makeWrapper
pkg-config
- openblasCompat # lots of segfaults with regular (64 bit) openblas
+ blas lapack
singular
three
pynac