jupyter: respect JUPYTER_PATH (#341093)

This commit is contained in:
OTABI Tomoya
2024-09-25 09:04:35 +09:00
committed by GitHub
@@ -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"; };
});