Skip to content

Commit

Permalink
Fix the looping "needs to build JupyterLab" bug #421 (#460)
Browse files Browse the repository at this point in the history
prefix jupyterlabEnvBase to PATH before executing 'jupyter lab build'; fixes #421
  • Loading branch information
jhhuh authored Mar 16, 2023
1 parent 0fea293 commit e9ff75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jupyter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
then
>&2 echo "[$(date +'%Y-%m-%d %H:%M:%S') jupyenv] needs to build JupyterLab."
# we need to build the jupyter lab environment before it can be used
${jupyterlabEnvBase}/bin/jupyter lab build
PATH='${jupyterlabEnvBase}/bin':$PATH ${jupyterlabEnvBase}/bin/jupyter lab build
else
>&2 echo "[$(date +'%Y-%m-%d %H:%M:%S') jupyenv] does not need build JupyterLab."
>&2 echo "[$(date +'%Y-%m-%d %H:%M:%S') jupyenv] Starting..."
Expand Down

0 comments on commit e9ff75e

Please sign in to comment.