Skip to content

Commit

Permalink
Merge pull request spack#101 from NOAA-EMC/bugfix/module-roots
Browse files Browse the repository at this point in the history
Fix module roots
  • Loading branch information
climbfuji authored Jun 14, 2022
2 parents cb1377b + 19fadf1 commit 0b75448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jcsda-emc/spack-stack/stack/stack_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ def write(self):
prefix = 'config:install_tree:root:{}'.format(self.install_prefix)
spack.config.add(prefix, scope=env_scope)
module_prefix = os.path.join(self.install_prefix, "modulefiles")
lmod_prefix = 'config:module_roots:lmod:{}'.format(module_prefix)
tcl_prefix = 'config:module_roots:tcl:{}'.format(module_prefix)
lmod_prefix = 'modules:default:roots:lmod:{}'.format(module_prefix)
tcl_prefix = 'modules:default:roots:tcl:{}'.format(module_prefix)
spack.config.add(lmod_prefix, scope=env_scope)
spack.config.add(tcl_prefix, scope=env_scope)

Expand Down

0 comments on commit 0b75448

Please sign in to comment.