diff --git a/.github/workflows/macos-ci-aarch64.yaml b/.github/workflows/macos-ci-aarch64.yaml index 39a6aed4c..6e111f407 100644 --- a/.github/workflows/macos-ci-aarch64.yaml +++ b/.github/workflows/macos-ci-aarch64.yaml @@ -151,9 +151,9 @@ jobs: # Test environment chaining echo "Test environment chaining" - spack stack create env --name chaintest --template empty --site macos.default --upstream $(realpath envs/${ENVNAME}/install) + spack stack create env --name chaintest --template empty --site macos.default --upstream ${ENVDIR}/install # Retain config from upstream so we don't have to rebuild: - cp -r $PWD/envs/${ENVNAME}/{site,common} $PWD/envs/chaintest/. + cp -r ${ENVDIR}/{site,common} $PWD/envs/chaintest/. spack env activate ${PWD}/envs/chaintest spack add nccmp@1.9.0.1%apple-clang spack concretize | tee envs/chaintest/log.concretize