Skip to content
Snippets Groups Projects
Commit aeac427e authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: enable view without activating env

parent a7f6ee09
Branches
Tags
1 merge request!793fix: enable view without activating env
...@@ -158,9 +158,8 @@ EOF ...@@ -158,9 +158,8 @@ EOF
## Create view at /usr/local ## Create view at /usr/local
RUN --mount=type=cache,target=/var/cache/spack <<EOF RUN --mount=type=cache,target=/var/cache/spack <<EOF
set -e set -e
spack env activate --dir ${SPACK_ENV}
rm -r /usr/local rm -r /usr/local
spack env view enable /usr/local spack -e ${SPACK_ENV} env view enable /usr/local
EOF EOF
## Optional, nuke the buildcache after install, before (re)caching ## Optional, nuke the buildcache after install, before (re)caching
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment