diff --git a/Dockerfile b/Dockerfile index 095bdc4a..ca33effa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:12.04 +FROM ubuntu:14.04 ENV HOME /home/stackage ENV LANG en_US.UTF-8 @@ -14,12 +14,12 @@ ADD debian-bootstrap.sh /tmp/debian-bootstrap.sh RUN DEBIAN_FRONTEND=noninteractive bash /tmp/debian-bootstrap.sh RUN rm /tmp/debian-bootstrap.sh -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cabal-install-1.20 ghc-7.8.4 alex-3.1.3 happy-1.19.4 +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cabal-install-1.20 ghc-7.8.4 alex-3.1.3 happy-1.19.4 sudo ENV PATH /home/stackage/.cabal/bin:/usr/local/sbin:/usr/local/bin:/opt/ghc/7.8.4/bin:/opt/cabal/1.20/bin:/opt/alex/3.1.3/bin:/opt/happy/1.19.4/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN cabal update -RUN cabal install hscolour cabal-install --constraint "Cabal < 1.22" && cp $HOME/.cabal/bin/* /usr/local/bin && rm -rf $HOME/.cabal $HOME/.ghc /tmp/stackage +RUN cabal install hscolour cabal-install && cp $HOME/.cabal/bin/* /usr/local/bin && rm -rf $HOME/.cabal $HOME/.ghc /tmp/stackage RUN wget https://s3.amazonaws.com/stackage-travis/stackage-curator/stackage-curator.bz2 && bunzip2 stackage-curator.bz2 && chmod +x stackage-curator && mv stackage-curator /usr/local/bin RUN cd /home/stackage && cabal update && stackage-curator check diff --git a/build-constraints.yaml b/build-constraints.yaml index 1e1c5d0e..97a48751 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -19,7 +19,6 @@ packages: - persistent-postgresql - persistent-sqlite - persistent-template - - process-conduit - random-shuffle - sphinx - stm-conduit @@ -50,6 +49,7 @@ packages: - lzma-conduit - mutable-containers - hpc-coveralls + - monad-unlift "FP Complete michael@fpcomplete.com @snoyberg": - alex @@ -121,6 +121,15 @@ packages: - kure + - ide-backend + - ide-backend-server + - ide-backend-rts + + - hackage-mirror + - wai-middleware-consul + - monad-logger-json + - monad-logger-syslog + "Omari Norman ": - rainbow - multiarg @@ -217,12 +226,11 @@ packages: # requires old haddock currently - haskell-docs # TODO: Add structured-haskell-mode once they've been ported to HSE 1.16. - # GHC 7.6 - # "Alberto G. Corona ": - # - RefSerialize - # - TCache - # - Workflow - # - MFlow + "Alberto G. Corona ": + - RefSerialize + - TCache + - Workflow + - MFlow "Edward Kmett ": - ad @@ -291,9 +299,8 @@ packages: - gl - lens-aeson - zlib-lens - # Temporary upper bound for some of the above packages - - generic-deriving < 1.7 - # hyperloglog + - generic-deriving + - hyperloglog "Andrew Farmer ": - scotty @@ -313,6 +320,7 @@ packages: - monad-coroutine - incremental-parser - monoid-subclasses + - picoparsec "Brent Yorgey ": - active @@ -380,12 +388,15 @@ packages: - binary-list - haskintex - post-mess-age + - include-file "Gabriel Gonzalez ": - pipes - pipes-parse - pipes-concurrency - pipes-safe + - turtle + - foldl "Chris Allen ": - bloodhound @@ -434,11 +445,7 @@ packages: - action-permutations - amqp - curl - - generics-sop - - # https://github.com/fpco/stackage/issues/341 - - haskell-names < 0.5 - + - haskell-names - haskell-packages - heredoc - hse-cpp @@ -474,6 +481,8 @@ packages: - ghc-heap-view - tttool - gipeda + - list-fusion-probe + - haskell-spacegoo "Aditya Bhargava ": - hledger + - shelltestrunner + - hledger-web "Mihai Maruseac ": - io-manager @@ -684,7 +695,8 @@ packages: - unbound-generics "Alois Cochard alois.cochard@gmail.com @aloiscochard": - - codex + # https://github.com/fpco/stackage/issues/415 + # - codex - machines-directory - machines-io - machines-process @@ -743,6 +755,8 @@ packages: - string-conversions "Oleg Grenrus oleg.grenrus@iki.fi @phadej": + - edit-distance + - lattices - waitra "Adam C. Foltzer acfoltzer@galois.com @acfoltzer": @@ -818,38 +832,75 @@ packages: - cubicspline - maximal-cliques + "Alexander Bondarenko @wiz": + - soap + - soap-tls + - soap-openssl + + "Andres Löh @kosmikus": + - generics-sop + + "Vivian McPhail ": + - hmatrix-gsl-stats + - hstatistics + - hsignal + - plot + - plot-gtk + - plot-gtk3 + - vector-buffer + - hmatrix-repa + + "Noam Lewis @sinelaw": + - xml-to-json + - xml-to-json-fast + + "Tim Baumann @timjb": + - aeson-schema + + "David Fox @ddssff": + - debian + - cabal-debian + + "Stefan Saasen ": + - jwt + + "Sven Bartscher sven.bartscher@weltraumschlangen.de @kritzefitz": + - setlocale + "Stackage upper bounds": - - # https://github.com/fpco/stackage/issues/415 - - hackage-db < 1.12 - - # https://github.com/fpco/stackage/issues/424 - - control-monad-free < 0.6 - - # https://github.com/fpco/stackage/issues/442 - - blaze-builder < 0.4 - - # https://github.com/fpco/stackage/issues/487 - - blaze-markup < 0.7 - - blaze-html < 0.8 - # https://github.com/fpco/stackage/issues/467 - lens < 4.8 # https://github.com/fpco/stackage/issues/476 - vector-space < 0.10 - # https://github.com/ekmett/linear/issues/70 - - linear < 1.18 - # https://github.com/fpco/stackage/issues/479 - QuickCheck < 2.8 + - cabal-test-quickcheck < 0.1.5 - # https://github.com/fpco/stackage/issues/483 - - rethinkdb-client-driver < 0.0.15 + # https://github.com/jgm/pandoc/issues/2036 + - highlighting-kate < 0.5.13 - # https://github.com/fpco/stackage/issues/494 - - criterion < 1.1 + # https://github.com/fpco/stackage/issues/509 + - srcloc < 0.5 + + # https://github.com/fpco/stackage/issues/515 + - exception-transformers < 0.4 + - exception-mtl < 0.4 + + # https://github.com/fpco/stackage/issues/517 + - generic-deriving < 1.7 + + # https://github.com/fpco/stackage/issues/524 + - repa < 3.4 + - repa-algorithms < 3.4 + - repa-io < 3.4 + + # https://github.com/Happstack/happstack-server/issues/6 + - happstack-server < 7.4.3 + + # https://github.com/fpco/stackage/issues/531 + - sbv < 4.3 # Package flags are applied to individual packages, and override the values of # global-flags @@ -883,6 +934,7 @@ package-flags: pandoc: https: true + old-locale: false text: integer-simple: false @@ -898,6 +950,12 @@ package-flags: jose-jwt: doctest: false + time-locale-compat: + old-locale: false + + HsOpenSSL: + fast-bignum: false + # By skipping a test suite, we do not pull in the build dependencies skipped-tests: - ReadArgs # old version of hspec @@ -1125,6 +1183,15 @@ expected-test-failures: # Requires locally running services - network-anonymous-i2p + # Tests not reliable on non-Windows systems + - nsis + + # Just a temporary package with a flimsy, inherited test suite + - Cabal-ide-backend + + # Requires running server + - consul-haskell + # Haddocks which are expected to fail. Same concept as expected test failures. expected-haddock-failures: # https://github.com/acw/bytestring-progress/issues/4 @@ -1140,6 +1207,9 @@ expected-haddock-failures: # builds. Could consider special-casing this requirement. - gtk + # Not sure why, but it's a temporary package anyway + - Cabal-ide-backend + # Benchmarks which should not be built. Note that Stackage does *not* generally # build benchmarks. The difference here will be whether dependencies for these # benchmarks are included or not. @@ -1166,8 +1236,10 @@ skipped-benchmarks: # sometimes falls out-of-sync on hasql-postgres - hasql - # https://github.com/fpco/stackage/issues/488 - - uuid-types + # https://github.com/fpco/stackage/issues/494 + - case-insensitive + - postgresql-binary + - scientific skipped-profiling: # https://github.com/nomeata/ghc-heap-view/commit/8d198eb8fbbad2ce0c4527c781659f35b8909c04#diff-8288955e209cfbead5b318a8598be9c0R10 diff --git a/debian-bootstrap.sh b/debian-bootstrap.sh index 827e8460..8064d9b3 100755 --- a/debian-bootstrap.sh +++ b/debian-bootstrap.sh @@ -10,9 +10,8 @@ # instructions, see: # http://www.stackage.org/install -add-apt-repository -y ppa:chris-lea/zeromq -add-apt-repository -y ppa:floe/libtisch add-apt-repository -y ppa:zoogie/sdl2-snapshots + apt-get update apt-get install -y \ build-essential \ @@ -21,7 +20,6 @@ apt-get install -y \ wget \ m4 \ texlive-full \ - libgmp3c2 \ libgmp3-dev \ zlib1g-dev \ libedit2 \ @@ -53,6 +51,7 @@ apt-get install -y \ liblzma-dev \ libsdl2-dev \ libxss-dev \ + libgtk-3-dev \ libzmq3-dev mkdir /tmp/nettle-build