mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
jupyter: respect JUPYTER_PATH (#341093)
This commit is contained in:
commit
95c5232e4c
@ -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"; };
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user