diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/lmod')
-rw-r--r-- | var/spack/repos/builtin/packages/lmod/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/lmod/package.py b/var/spack/repos/builtin/packages/lmod/package.py index 697eb9c1bc..7dd6e80395 100644 --- a/var/spack/repos/builtin/packages/lmod/package.py +++ b/var/spack/repos/builtin/packages/lmod/package.py @@ -48,10 +48,10 @@ class Lmod(AutotoolsPackage): parallel = False - def setup_environment(self, spack_env, run_env): + def setup_build_environment(self, env): stage_lua_path = join_path( self.stage.source_path, 'src', '?.lua') - spack_env.append_path('LUA_PATH', stage_lua_path.format( + env.append_path('LUA_PATH', stage_lua_path.format( version=self.version), separator=';') def patch(self): |