From 1ced46f4f7e0b0a7bbca379497a5afe3007cb75c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 6 May 2024 22:54:07 +0200 Subject: [PATCH] gnu: python-ipykernel: Set environment variable. * gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Set JUPYTER_PLATFORM_DIRS variable. Change-Id: I99808fcb0e29600b8728d9fbb8ef0f7e0624f99c --- gnu/packages/python-xyz.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 125ecfd8b608b070693fca466770b8cd17640f51..885dae8a6bc4d949be26c78ce4fd132dcd492c87 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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