diff --git a/shenvs/jupyter.nix b/shenvs/jupyter.nix index 8d5065a..6f89b6c 100644 --- a/shenvs/jupyter.nix +++ b/shenvs/jupyter.nix @@ -1,12 +1,22 @@ pkgs: { - paths = with pkgs; [ - (python39.withPackages ( packages: with packages; [ - jupyterlab - matplotlib - numpy - octave - scipy - sympy - ] )) + paths = with pkgs; + let + python3 = python39.withPackages ( ps: with ps; [ + matplotlib + numpy + scipy + sympy + ]); + jupyterPath = jupyter-kernel.create { definitions = { + octave = octave-kernel.definition; + };}; + in + [ + (jupyter.override { + definitions = { + octave = octave-kernel.definition; + }; + inherit python3; + }) ]; }