summaryrefslogtreecommitdiff
path: root/.circleci/prepare-system.sh
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/prepare-system.sh')
-rwxr-xr-x.circleci/prepare-system.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/.circleci/prepare-system.sh b/.circleci/prepare-system.sh
index dbb1011df5..9a57464330 100755
--- a/.circleci/prepare-system.sh
+++ b/.circleci/prepare-system.sh
@@ -29,17 +29,18 @@ case "$(uname)" in
# cross-compiling to FreeBSD
add-apt-repository -y ppa:hvr/ghc
apt-get update -qq
- apt-get install -qy ghc-8.0.2 cabal-install-1.24 alex happy \
+ apt-get install -qy ghc-8.4.3 cabal-install alex happy \
ncurses-dev git make automake autoconf gcc perl \
python3 texinfo xz-utils lbzip2 patch
cabal update
- cabal install --reinstall hscolour --index-state=$hackage_index_state
+ cabal install --reinstall hscolour
ln -s $HOME/.cabal/bin/HsColour /usr/local/bin/HsColour
+ ls -l /opt/ghc
echo 'HADDOCK_DOCS = NO' >> mk/build.mk
echo 'WERROR=' >> mk/build.mk
# https://circleci.com/docs/2.0/env-vars/#interpolating-environment-variables-to-set-other-environment-variables
- echo 'export PATH=/opt/ghc/bin:$PATH' >> $BASH_ENV
+ echo 'export PATH=/opt/ghc/8.4.3/bin:$PATH' >> $BASH_ENV
else
fail "TARGET=$target not supported"
fi