diff --git a/etc/curator-2-check.sh b/etc/curator-2-check.sh index abafaae6..d9759b61 100755 --- a/etc/curator-2-check.sh +++ b/etc/curator-2-check.sh @@ -2,7 +2,8 @@ set -euxo pipefail -export GHCVER=8.6.3 +ETC=$(cd $(dirname $0) ; pwd) +export GHCVER=$(sed -n "s/^ghc-version: \"\(.*\)\"/\1/p" "$ETC/../build-constraints.yaml") # Download and unpack the stack executable mkdir -p ~/.local/bin