Use GHC version defined in build-constraints.yaml

This commit is contained in:
Kirill Zaborsky 2019-04-11 16:40:31 +03:00
parent ca4015eaec
commit bf0e69bee7

View File

@ -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