Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions pkgs/by-name/sa/sage/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ let
# `sagelib`, i.e. all of sage except some wrappers and runtime dependencies
sagelib = self.callPackage ./sagelib.nix {
inherit flint;
inherit eclib;
inherit ntl;
inherit sage-src env-locations singular;
inherit (maxima) lisp-compiler;
Expand Down Expand Up @@ -92,6 +93,8 @@ let
python3
singular
palp
eclib
giac
flint
ntl
pythonEnv
Expand All @@ -108,6 +111,8 @@ let
# sagelib with added wrappers and a dependency on sage-tests to make sure thet tests were run.
sage-with-env = callPackage ./sage-with-env.nix {
inherit python3 pythonEnv;
inherit eclib;
inherit giac;
inherit ntl;
inherit sage-env;
inherit singular maxima;
Expand Down Expand Up @@ -157,7 +162,7 @@ let
extraLibs = pythonRuntimeDeps;
}; # make the libs accessible

singular = pkgs.singular.override { inherit flint; };
singular = pkgs.singular.override { inherit flint ntl; };

maxima = pkgs.maxima-ecl.override {
lisp-compiler = pkgs.ecl.override {
Expand All @@ -179,7 +184,18 @@ let
# openblas instead of openblasCompat. Apparently other packages somehow use flints
# blas when it is available. Alternative would be to override flint to use
# openblasCompat.
flint = pkgs.flint.override { withBlas = false; };
flint = pkgs.flint.override {
inherit ntl;
withBlas = false;
};

eclib = pkgs.eclib.override {
inherit ntl;
};

giac = pkgs.giac.override {
inherit ntl;
};

# Multiple palp dimensions need to be available and sage expects them all to be
# in the same folder.
Expand Down
Loading