diff options
Diffstat (limited to 'pkgs/applications/science/math/sage/default.nix')
-rw-r--r-- | pkgs/applications/science/math/sage/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/science/math/sage/default.nix b/pkgs/applications/science/math/sage/default.nix index 70e24e2608d..f399099d4da 100644 --- a/pkgs/applications/science/math/sage/default.nix +++ b/pkgs/applications/science/math/sage/default.nix @@ -48,6 +48,12 @@ let logo64 = "${sage-src}/src/doc/common/themes/sage/static/sageicon.png"; }; + jupyter-kernel-specs = pkgs.jupyter-kernel.create { + definitions = pkgs.jupyter-kernel.default // { + sagemath = jupyter-kernel-definition; + }; + }; + three = callPackage ./threejs-sage.nix { }; # A bash script setting various environment variables to tell sage where @@ -72,8 +78,7 @@ let # The documentation for sage, building it takes a lot of ram. sagedoc = callPackage ./sagedoc.nix { - inherit sage-with-env; - inherit python3 maxima; + inherit sage-with-env jupyter-kernel-specs; }; # sagelib with added wrappers and a dependency on sage-tests to make sure thet tests were run. @@ -167,6 +172,6 @@ let in # A wrapper around sage that makes sure sage finds its docs (if they were build). callPackage ./sage.nix { - inherit sage-tests sage-with-env sagedoc jupyter-kernel-definition; + inherit sage-tests sage-with-env sagedoc jupyter-kernel-definition jupyter-kernel-specs; inherit withDoc requireSageTests; } |