summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/everytrace-example/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/everytrace-example/package.py')
-rw-r--r--var/spack/repos/builtin/packages/everytrace-example/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/everytrace-example/package.py b/var/spack/repos/builtin/packages/everytrace-example/package.py
index 76b437a38a..17a7ed8658 100644
--- a/var/spack/repos/builtin/packages/everytrace-example/package.py
+++ b/var/spack/repos/builtin/packages/everytrace-example/package.py
@@ -38,5 +38,5 @@ class EverytraceExample(CMakePackage):
# Currently the only MPI this everytrace works with.
depends_on('openmpi')
- def setup_environment(self, spack_env, env):
- env.prepend_path('PATH', join_path(self.prefix, 'bin'))
+ def setup_environment(self, spack_env, run_env):
+ run_env.prepend_path('PATH', join_path(self.prefix, 'bin'))