From b51e48732c71d80962c24e18a259ccdb0660e6d3 Mon Sep 17 00:00:00 2001
From: vvolkl <valentin.volkl@cern.ch>
Date: Mon, 17 Aug 2020 11:51:16 +0200
Subject: [PATCH] pythia8: added environment variable (#18081)

---
 var/spack/repos/builtin/packages/pythia8/package.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/var/spack/repos/builtin/packages/pythia8/package.py b/var/spack/repos/builtin/packages/pythia8/package.py
index 8660fc8b01..15effec400 100644
--- a/var/spack/repos/builtin/packages/pythia8/package.py
+++ b/var/spack/repos/builtin/packages/pythia8/package.py
@@ -68,4 +68,5 @@ def configure_args(self):
         return args
 
     def setup_dependent_run_environment(self, env, dependent_spec):
+        env.set('PYTHIA8', self.prefix)
         env.set('PYTHIA8DATA', self.prefix.share.Pythia8.xmldoc)
-- 
GitLab