añade symbolic a jupyter shenv

This commit is contained in:
Fabián Montero 2022-05-08 16:46:12 -06:00
parent a5ac598a47
commit 7f0704a6fe

View file

@ -8,15 +8,21 @@ pkgs: {
sympy sympy
]); ]);
jupyterPath = jupyter-kernel.create { definitions = { jupyterPath = jupyter-kernel.create { definitions = {
octave = octave-kernel.definition; octave = octave-kernel.definition;
};}; };};
in in
[ [
(jupyter.override { (jupyter.override {
definitions = { definitions = {
octave = octave-kernel.definition; octave = let
withPackages = pkgs.octave.withPackages (ps: with ps; [
symbolic
]);
octave = withPackages.overrideAttrs (super: { inherit (pkgs.octave) version src; });
kernel = octave-kernel.override { inherit octave; };
in kernel.definition;
}; };
inherit python3; inherit python3;
}) })
]; ];
} }