aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-06 22:53:44 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:18:40 +0000
commitb2355d26e2b559aa8c3f95628e4105e91efbd721 (patch)
tree589f7f0defe59de55309fe8c2c6251e7a8dce617
parenta318906821837fcb3ea217b0caeec61689fa1de6 (diff)
downloadguix-b2355d26e2b559aa8c3f95628e4105e91efbd721.tar.gz
guix-b2355d26e2b559aa8c3f95628e4105e91efbd721.zip
gnu: python-jupyter-client: Set environment variable.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Set JUPYTER_PLATFORM_DIRS variable. Change-Id: I2516d6d27ce53f778ae265241e95501a0cc024e3
-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 f07e3a875f..125ecfd8b6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12843,6 +12843,8 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
(when tests?
;; Some tests try to write to $HOME.
(setenv "HOME" "/tmp")
+ ;; jupyter-core demands this be set.
+ (setenv "JUPYTER_PLATFORM_DIRS" "1")
(invoke "pytest" "-vv"
"-k"
;; XXX "RuntimeError: Kernel died before replying