~ruther/guix-local

1ced46f4f7e0b0a7bbca379497a5afe3007cb75c — Ricardo Wurmus 2 years ago b2355d2
gnu: python-ipykernel: Set environment variable.

* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I99808fcb0e29600b8728d9fbb8ef0f7e0624f99c
1 files changed, 2 insertions(+), 0 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +2 -0
@@ 12894,6 12894,8 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
              (when tests?
                (match (primitive-fork)
                  (0                    ;child process
                   ;; jupyter-core demands this be set.
                   (setenv "JUPYTER_PLATFORM_DIRS" "1")
                   (setenv "HOME" "/tmp")
                   (execlp "pytest" "pytest" "-vv"))
                  (pytest-pid