From e476755c468ff042af122a5412a4c2c4a9b0e716 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Mon, 6 May 2024 23:51:55 +0200
Subject: [PATCH] more debug of path

---
 ci/install_compilers.sh | 2 +-
 ci/setup_spack.sh       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/install_compilers.sh b/ci/install_compilers.sh
index 5f5b821..155ab61 100755
--- a/ci/install_compilers.sh
+++ b/ci/install_compilers.sh
@@ -4,7 +4,7 @@ set -o errexit
 set -o pipefail
 set -o nounset
 
-source stack_env.sh
+source ${CI_PROJECT_DIR}/ci/stack_env.sh
 
 echo "Getting system compiler"
 ${STACK_LOCATION}/spack/bin/spack compiler find --scope system /usr
diff --git a/ci/setup_spack.sh b/ci/setup_spack.sh
index 2f27f89..1669902 100755
--- a/ci/setup_spack.sh
+++ b/ci/setup_spack.sh
@@ -4,7 +4,7 @@ set -o errexit
 set -o pipefail
 set -o nounset
 
-source stack_env.sh
+source ${CI_PROJECT_DIR}/ci/stack_env.sh
 
 mkdir -p ${STACK_LOCATION}
 cd ${STACK_LOCATION}
-- 
GitLab