summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e50f0c11b..7484f4edc2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12707,6 +12707,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