Skip to content

Commit

Permalink
Update build_chroot
Browse files Browse the repository at this point in the history
We now require cabal-install and the Cabal API for building,
and hlint >= 1.9.12 since oder versions either did not support
the --cpp-file option or had a bug regarding the --utf8 option
(which we use; see ndmitchell/hlint#96).
  • Loading branch information
nh2 committed Dec 4, 2014
1 parent cdda271 commit 8f28b39
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions devel/build_chroot
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ case $DIST_RELEASE in
libcurl4-gnutls-dev \
libpcre3-dev \
happy \
hlint hscolour pandoc \
hscolour pandoc \
graphviz qemu-utils \
python-docutils \
python-simplejson \
Expand Down Expand Up @@ -323,7 +323,7 @@ case $DIST_RELEASE in
libghc-hslogger-dev libghc-crypto-dev \
libghc-regex-pcre-dev libghc-attoparsec-dev \
libghc-vector-dev libghc-temporary-dev \
libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
libghc-snap-server-dev libpcre3 libpcre3-dev happy hscolour pandoc \
libghc-zlib-dev libghc-psqueue-dev \
cabal-install \
python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
Expand Down Expand Up @@ -374,14 +374,22 @@ case $DIST_RELEASE in
libghc-hslogger-dev libghc-crypto-dev \
libghc-regex-pcre-dev libghc-attoparsec-dev \
libghc-vector-dev libghc-temporary-dev \
libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
libghc-snap-server-dev libpcre3 libpcre3-dev happy hscolour pandoc \
libghc-zlib-dev libghc-psqueue-dev \
libghc-base64-bytestring-dev libghc-lens-dev libghc-lifted-base-dev \
libghc-cabal-dev \
cabal-install \
python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
python-simplejson python-pycurl python-pyinotify python-paramiko \
python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
shelltestrunner python-dev pylint openssh-client vim git git-email

in_chroot -- \
cabal update

in_chroot -- \
cabal install --global \
'hlint>=1.9.12'
;;

precise)
Expand All @@ -404,7 +412,9 @@ EOF
libghc-hslogger-dev libghc-crypto-dev \
libghc-regex-pcre-dev libghc-attoparsec-dev \
libghc-vector-dev libghc-temporary-dev libghc-psqueue-dev \
libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
libghc-cabal-dev \
cabal-install \
libghc-snap-server-dev libpcre3 libpcre3-dev happy hscolour pandoc \
python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
python-simplejson python-pyinotify python-pycurl python-paramiko \
python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
Expand Down Expand Up @@ -439,15 +449,23 @@ EOF
libghc-hslogger-dev libghc-crypto-dev \
libghc-regex-pcre-dev libghc-attoparsec-dev \
libghc-vector-dev libghc-temporary-dev libghc-psqueue-dev \
libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \
libghc-snap-server-dev libpcre3 libpcre3-dev happy hscolour pandoc \
libghc-lifted-base-dev \
libghc-cabal-dev \
cabal-install \
libghc-base64-bytestring-dev \
python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \
python-simplejson python-pyinotify python-pycurl python-paramiko \
python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \
shelltestrunner python-dev pylint openssh-client vim git git-email \
build-essential

in_chroot -- \
cabal update

in_chroot -- \
cabal install --global \
'hlint>=1.9.12'
;;
esac

Expand Down

0 comments on commit 8f28b39

Please sign in to comment.