3
0
Fork 0
forked from mirrors/nixpkgs

sage: fix passthru.kernelspec regression

This commit is contained in:
Mauricio Collares 2022-05-23 08:55:11 -07:00
parent c70995bae3
commit 8711501e96
2 changed files with 3 additions and 2 deletions

View file

@ -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;
}

View file

@ -2,6 +2,7 @@
, makeWrapper
, sage-tests
, sage-with-env
, jupyter-kernel-definition
, jupyter-kernel-specs
, sagedoc
, withDoc
@ -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; {