pkgs: { 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; }) ]; }