summary refs log tree commit diff
path: root/pkgs/applications/editors/jupyter/default.nix
blob: 2bca120c1debc04703cdd8717e5edee1ef571e05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Jupyter notebook with the given kernel definitions

{ python3
, jupyter-kernel
, definitions ? jupyter-kernel.default
}:

let

  jupyterPath = (jupyter-kernel.create { inherit definitions; });

in

with python3.pkgs; toPythonModule (
  notebook.overridePythonAttrs(oldAttrs: {
    makeWrapperArgs = ["--set JUPYTER_PATH ${jupyterPath}"];
  })
)