Skip to content

Commit

Permalink
Merge pull request #174139 from collares/sage-kernelspec
Browse files Browse the repository at this point in the history
sage: fix passthru.kernelspec regression
  • Loading branch information
timokau authored May 26, 2022
2 parents e5e5786 + 8711501 commit d6ed7b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/science/math/sage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -172,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-specs;
inherit sage-tests sage-with-env sagedoc jupyter-kernel-definition jupyter-kernel-specs;
inherit withDoc requireSageTests;
}
3 changes: 2 additions & 1 deletion pkgs/applications/science/math/sage/sage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, makeWrapper
, sage-tests
, sage-with-env
, jupyter-kernel-definition
, jupyter-kernel-specs
, sagedoc
, withDoc
Expand Down Expand Up @@ -49,7 +50,7 @@ stdenv.mkDerivation rec {
quicktest = sage-tests.override { longTests = false; timeLimit = 600; }; # as many tests as possible in ~10m
doc = sagedoc;
lib = sage-with-env.env.lib;
kernelspec = jupyter-kernel-specs.definition.sagemath;
kernelspec = jupyter-kernel-definition;
};

meta = with lib; {
Expand Down

0 comments on commit d6ed7b2

Please sign in to comment.