summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-06 22:54:07 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-10-14 21:31:53 +0100
commitf0d5aac71b2a0fa82c35cf8b2b79e09b1010eda8 (patch)
tree192df3f658c857a9e8813974a4701c054eae0c9d /gnu/packages/python-xyz.scm
parent753c1359162cfecb4d57a3ad0cb744f858e59464 (diff)
gnu: python-ipykernel: Set environment variable.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Set JUPYTER_PLATFORM_DIRS variable. Change-Id: I99808fcb0e29600b8728d9fbb8ef0f7e0624f99c
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