diff --git a/spack_get_libs.sh b/spack_get_libs.sh index 5beced0..677da41 100644 --- a/spack_get_libs.sh +++ b/spack_get_libs.sh @@ -105,6 +105,8 @@ get_paths() print_env LD_LIBRARY_PATH "${ld_library_path}\$LD_LIBRARY_PATH" } +source /usr/share/spack/setup-env.sh + spack_srcd=false ( [[ -n $ZSH_VERSION && $ZSH_EVAL_CONTEXT =~ :file$ ]] ||