sage: link doc in jupyter kernel

This commit is contained in:
hqurve 2022-03-13 17:45:56 -04:00
parent 5536b56135
commit 9a409fc502

View file

@ -9,7 +9,7 @@
# is always preferred, see `sage-src.nix` for that.
let
inherit (pkgs) symlinkJoin callPackage nodePackages;
inherit (pkgs) symlinkJoin callPackage nodePackages lib;
python3 = pkgs.python3.override {
packageOverrides = self: super: {
@ -46,7 +46,7 @@ let
# just one 16x16 logo is available
logo32 = "${sage-src}/src/doc/common/themes/sage/static/sageicon.png";
logo64 = "${sage-src}/src/doc/common/themes/sage/static/sageicon.png";
};
} // lib.optionalAttrs withDoc { extraPaths = { "doc" = "${sagedoc}/share/doc/sage/html/en"; }; };
three = callPackage ./threejs-sage.nix { };