Allow usage of spack config vars in concrete env path
This commit is contained in:
parent
62f3dd7581
commit
e56ffe3e8a
1 changed files with 5 additions and 1 deletions
|
@ -1017,7 +1017,11 @@ def add_view(name, values):
|
||||||
|
|
||||||
def _process_concrete_includes(self):
|
def _process_concrete_includes(self):
|
||||||
"""Extract and load into memory included concrete spec data."""
|
"""Extract and load into memory included concrete spec data."""
|
||||||
self.included_concrete_envs = self.manifest[TOP_LEVEL_KEY].get(included_concrete_name, [])
|
_included_concrete_envs = self.manifest[TOP_LEVEL_KEY].get(included_concrete_name, [])
|
||||||
|
# Expand config and environment variables
|
||||||
|
self.included_concrete_envs = [
|
||||||
|
spack.util.path.canonicalize_path(_env) for _env in _included_concrete_envs
|
||||||
|
]
|
||||||
|
|
||||||
if self.included_concrete_envs:
|
if self.included_concrete_envs:
|
||||||
if os.path.exists(self.lock_path):
|
if os.path.exists(self.lock_path):
|
||||||
|
|
Loading…
Reference in a new issue