jupyter: respect JUPYTER_PATH (#341093)
This commit is contained in:
commit
95c5232e4c
@ -9,7 +9,7 @@ let
|
|||||||
jupyterPath = (jupyter-kernel.create { inherit definitions; });
|
jupyterPath = (jupyter-kernel.create { inherit definitions; });
|
||||||
jupyter-notebook = (python3.buildEnv.override {
|
jupyter-notebook = (python3.buildEnv.override {
|
||||||
extraLibs = [ python3.pkgs.notebook ];
|
extraLibs = [ python3.pkgs.notebook ];
|
||||||
makeWrapperArgs = ["--set JUPYTER_PATH ${jupyterPath}"];
|
makeWrapperArgs = ["--prefix JUPYTER_PATH : ${jupyterPath}"];
|
||||||
}).overrideAttrs(oldAttrs: {
|
}).overrideAttrs(oldAttrs: {
|
||||||
meta = oldAttrs.meta // { mainProgram = "jupyter-notebook"; };
|
meta = oldAttrs.meta // { mainProgram = "jupyter-notebook"; };
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user