diff --git a/gitlab/build.sh b/gitlab/build.sh
index e5faf011e98a47f8aced3b9955c35b38768fa9b8..47ec70ac8001f625a9b8051087fff55925dee661 100755
--- a/gitlab/build.sh
+++ b/gitlab/build.sh
@@ -4,10 +4,9 @@
 source $(dirname ${0})/functions.sh
 
 # Makes sure we activate the base environment if available
-PATH=${CONDA_ROOT}/bin:${PATH}
-export_env PATH
 run_cmd source ${CONDA_ROOT}/etc/profile.d/conda.sh
 run_cmd conda activate base
+export_env PATH
 
 run_cmd mkdir -p ./_ci/${OS_SLUG}/${PYTHON_VERSION}