From 95ff611ee730748d14e0259bb31e87c519b623a9 Mon Sep 17 00:00:00 2001
From: Jens Henrik Goebbert <j.goebbert@fz-juelich.de>
Date: Tue, 10 Oct 2023 18:00:52 +0200
Subject: [PATCH] fix environment variable

---
 .../JupyterProxy-Matlab-0.8.0-GCCcore-11.3.0-2023.3.6.eb    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Golden_Repo/j/JupyterProxy-Matlab/JupyterProxy-Matlab-0.8.0-GCCcore-11.3.0-2023.3.6.eb b/Golden_Repo/j/JupyterProxy-Matlab/JupyterProxy-Matlab-0.8.0-GCCcore-11.3.0-2023.3.6.eb
index 42bf444d..638aa574 100644
--- a/Golden_Repo/j/JupyterProxy-Matlab/JupyterProxy-Matlab-0.8.0-GCCcore-11.3.0-2023.3.6.eb
+++ b/Golden_Repo/j/JupyterProxy-Matlab/JupyterProxy-Matlab-0.8.0-GCCcore-11.3.0-2023.3.6.eb
@@ -114,10 +114,14 @@ postinstallcmds = [
     'chmod +x %(installdir)s/bin/Xvfb'
 ]
 
+
+modextravars = {
+    'MWI_USE_EXISTING_LICENSE': 'True',
+}
+
 # Jupyter-matlab-kernel DISABLED:
 # https://github.com/mathworks/jupyter-matlab-proxy/issues/62
 modextrapaths = {
-    'MWI_USE_EXISTING_LICENSE': 'True',
     # 'MWI_CUSTOM_MATLAB_ROOT': 'lib/python%(pyshortver)s/site-packages/jupyter_matlab_proxy/',
     # 'JUPYTER_PATH': ['share/jupyter'],  # add search path for kernelspecs
 }
-- 
GitLab