Basic GHC 8 updates

This commit is contained in:
Michael Snoyman 2016-05-24 05:39:10 +03:00
parent 75ab041030
commit 249cf25527
5 changed files with 8 additions and 7 deletions

View File

@ -11,7 +11,7 @@ addons:
- libgmp-dev
env:
- GHCVER=7.10.3
- GHCVER=8.0.1
install:
# Download and unpack the stack executable

View File

@ -2,7 +2,7 @@ FROM ubuntu:16.04
ENV HOME /home/stackage
ENV LANG en_US.UTF-8
ENV PATH /opt/ghc/7.10.3/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PATH /opt/ghc/8.0.1/bin:/usr/sbin:/usr/bin:/sbin:/bin
ADD debian-bootstrap.sh /tmp/debian-bootstrap.sh
RUN /tmp/debian-bootstrap.sh && rm /tmp/debian-bootstrap.sh

View File

@ -1,4 +1,4 @@
ghc-major-version: "7.10"
ghc-major-version: "8.0"
# Constraints for brand new builds
packages:
"alpheccar <misc@alpheccar.org> @alpheccar":
@ -2285,7 +2285,7 @@ packages:
- hw-prim < 0.0.0.11
# Need to always match the version shipped with GHC
- Win32 == 2.3.1.0
- Win32 == 2.3.1.1
# https://github.com/fpco/stackage/issues/1446
- megaparsec < 5.0.0

3
check
View File

@ -2,4 +2,5 @@
# Convenience script for checking constraints locally
exec stack exec --resolver ghc-7.10.3 stackage-curator check
cd `dirname $0`
exec stack exec --resolver ghc-8.0.1 stackage-curator check

View File

@ -31,8 +31,8 @@ echo 'deb http://download.fpcomplete.com/ubuntu xenial main'|tee /etc/apt/source
apt-get update
apt-get install -y \
build-essential \
ghc-7.10.3 \
ghc-7.10.3-htmldocs \
ghc-8.0.1 \
ghc-8.0.1-htmldocs \
hscolour \
sudo \
curl \