summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ninja/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ninja/package.py b/var/spack/repos/builtin/packages/ninja/package.py
index b86fa79863..3924a7a635 100644
--- a/var/spack/repos/builtin/packages/ninja/package.py
+++ b/var/spack/repos/builtin/packages/ninja/package.py
@@ -40,6 +40,9 @@ class Ninja(Package):
ninja_test = Executable('./ninja_test')
ninja_test()
+ def setup_run_environment(self, env):
+ env.prepend_path('PYTHONPATH', self.prefix.misc)
+
def install(self, spec, prefix):
mkdir(prefix.bin)
install('ninja', prefix.bin)