jupyter: respect JUPYTER_PATH (#341093)

This commit is contained in:
OTABI Tomoya 2024-09-25 09:04:35 +09:00 committed by GitHub
commit 95c5232e4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ let
jupyterPath = (jupyter-kernel.create { inherit definitions; });
jupyter-notebook = (python3.buildEnv.override {
extraLibs = [ python3.pkgs.notebook ];
makeWrapperArgs = ["--set JUPYTER_PATH ${jupyterPath}"];
makeWrapperArgs = ["--prefix JUPYTER_PATH : ${jupyterPath}"];
}).overrideAttrs(oldAttrs: {
meta = oldAttrs.meta // { mainProgram = "jupyter-notebook"; };
});