I'd like to set a default path for named environments via a config.yaml setting, eg
config:
environments_root: $HOME/my_spack_environments
Rationale
We (NERSC) have a user-facing Spack install, whose site defaults set repos, install_tree etc in the user's $HOME area. We plan to encourage users to use Spack environments, but currently the default is for the environment to be created in the (global, read-only-for-users) Spack directory. If we could set a site default for where a user's named environments will be located, this makes the usage easier.
Description
The ideal solution would be an additional configuration parameter as described above.
The alternative is to tell users to use -d every time, or not to use environments.
Additional information
General information
We are using Spack version 0.14.2
I'd like to set a default path for named environments via a
config.yamlsetting, egRationale
We (NERSC) have a user-facing Spack install, whose site defaults set repos, install_tree etc in the user's $HOME area. We plan to encourage users to use Spack environments, but currently the default is for the environment to be created in the (global, read-only-for-users) Spack directory. If we could set a site default for where a user's named environments will be located, this makes the usage easier.
Description
The ideal solution would be an additional configuration parameter as described above.
The alternative is to tell users to use
-devery time, or not to use environments.Additional information
General information
We are using Spack version 0.14.2
spack --versionand reported the version of Spack