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
No related branches found
No related tags found
1 merge request!793fix: enable view without activating env
......@@ -158,9 +158,8 @@ EOF
## Create view at /usr/local
RUN --mount=type=cache,target=/var/cache/spack <<EOF
set -e
spack env activate --dir ${SPACK_ENV}
rm -r /usr/local
spack env view enable /usr/local
spack -e ${SPACK_ENV} env view enable /usr/local
EOF
## 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.
Finish editing this message first!
Please register or to comment