New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/44160#issuecomment-1743959963 Comment: > Looks good to me, thanks. One minor thing: should > > ``` > cat srcpkgs/jupyterlab/files/jupyterlab.sh > export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab > ``` > > become `export JUPYTERLAB_DIR=${XDG_DATA_HOME}/jupyter/lab` ? I meant to ask about it. Do we really need to set a variable? What happens if we don't? I would expect this to work ok without any env variable. In fact, I've patched `jupyter_core` to use `platformdirs` which should use xdg paths (e.g. `~/.config/jupyter` instead of `~/.jupyter`). If not really necessary, I'd prefer to drop this file and let the user configure their environment whatever way they want.