diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 833db4d935f1415f9b983f466421af2531e87743..5bd151e690d1368e6d0f38c26e1580316fcd6e7f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -237,7 +237,7 @@ generate-pipeline:
     - git clone https://github.com/${EICSPACK_ORGREPO}.git ${SPACK_ROOT}/var/spack/repos/eic-spack
     - git -C ${SPACK_ROOT}/var/spack/repos/eic-spack checkout ${EICSPACK_VERSION}
   script:
-    - spack -d env activate --without-view .
+    - spack env activate --without-view .
     - spack -d ci generate
       --artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir"
       --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/pipeline.yml"
diff --git a/spack.yaml b/spack.yaml
index 3eece3b1030b27258abdfed1c6f135da0d7feda7..21c4e74fddcfd82034945de06ffd51c81c93d1ed 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -62,7 +62,7 @@ spack:
       variants:
         build_type=Release
 
-  view: /usr/local
+  view: False # /usr/local
 
   mirrors: { "eic-spack": "s3://eictest/EPIC/spack" }