summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-17 15:40:48 +0200
committerGitHub <noreply@github.com>2023-10-17 15:40:48 +0200
commitbd165ebc4dbd0001d4e125e1caeb9fe09064c632 (patch)
tree15f114d530689e960e0a44c4164ce89ec66854c4 /bin
parent348e5cb522eb6041f8556ed5823fb63aa23305c7 (diff)
downloadspack-bd165ebc4dbd0001d4e125e1caeb9fe09064c632.tar.gz
spack-bd165ebc4dbd0001d4e125e1caeb9fe09064c632.tar.bz2
spack-bd165ebc4dbd0001d4e125e1caeb9fe09064c632.tar.xz
spack-bd165ebc4dbd0001d4e125e1caeb9fe09064c632.zip
Support `spack env activate --with-view <name> <env>` (#40549)
Currently `spack env activate --with-view` exists, but is a no-op. So, it is not too much of a breaking change to make this redundant flag accept a value `spack env activate --with-view <name>` which activates a particular view by name. The view name is stored in `SPACK_ENV_VIEW`. This also fixes an issue where deactivating a view that was activated with `--without-view` possibly removes entries from PATH, since now we keep track of whether the default view was "enabled" or not.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions