From 55772cbd9b88dfbe120811f8639b5b63640dac19 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 6 Apr 2021 07:59:11 -1000 Subject: [PATCH] stack config for testing with GHC 9.0, WIP (#1503) --- stack9.0.yaml | 326 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 326 insertions(+) create mode 100644 stack9.0.yaml diff --git a/stack9.0.yaml b/stack9.0.yaml new file mode 100644 index 000000000..3ba9d1342 --- /dev/null +++ b/stack9.0.yaml @@ -0,0 +1,326 @@ +# stack build plan using GHC 9.0.1 +# not working yet, see TODO below + +# This file was generated: +# https://github.com/DanBurton/stack-setup-info-gen/ +setup-info: + ghc: + linux-aarch64: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-aarch64-deb9-linux.tar.xz" + content-length: 318952020 + sha1: c8593265bbe9dc1dd8723d7e4bc3e06416c18020 + sha256: fac7a0bdfc83c05df94024a2d67b8f00a9cd2733b9cb41fb8ad76be399014906 + linux32: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-i386-deb9-linux.tar.xz" + content-length: 218717576 + sha1: 16a3a7b19f30331519651df5bba9033fc438da7f + sha256: 880e37cea8328401bcfecfe4bb56eb85195f30135b140140b3f24094264f8ba5 + macosx: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-x86_64-apple-darwin.tar.xz" + content-length: 195271412 + sha1: 6b223716eb5f7014f338969db312156139814e70 + sha256: 122d60509147d0117779d275f0215bde2ff63a64cda9d88f149432d0cae71b22 + linux64-gmp4: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-x86_64-centos7-linux.tar.xz" + content-length: 206110484 + sha1: ef7313108a709c2e919ee526e3f5f383ca8ba160 + sha256: a23750950b6995a66ba59afe82bbc505bd3479d6ab59cf66f45bc6c056e4d87b + linux64: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-x86_64-deb9-linux.tar.xz" + content-length: 217978008 + sha1: 324c47d98b80a55828d4e70701ed5894d33e8f5f + sha256: 4ca6252492f59fe589029fadca4b6f922d6a9f0ff39d19a2bd9886fde4e183d5 + linux64-tinfo6: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-x86_64-fedora27-linux.tar.xz" + content-length: 220795024 + sha1: 51456ef7b49a413edded28e678535fb2f8d0e896 + sha256: 1fb8e27eeec51b4cdbfd1b3c16727adc5f77388d3e925e63799d8232647f316d + freebsd64: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-x86_64-portbld-freebsd.tar.xz" + content-length: 182101956 + sha1: 90765eec8f061f0d85d04c1e61dcfa83a5511b88 + sha256: 9dbc06d8832cae5c9f86dd7b2db729b3748a47beb4fd4b1e62bb66119817c3c1 + windows64: + 9.0.1: + url: "https://downloads.haskell.org/ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz" + content-length: 247505048 + sha1: 9876d3418bae3a21da4f30dceb8e2c5057e3f1cc + sha256: 4f4ab118df01cbc7e7c510096deca0cb25025339a97730de0466416296202493 + +resolver: ghc-9.0.1 +compiler: ghc-9.0.1 +compiler-check: match-exact + + +packages: +- hledger-lib +- hledger +- hledger-ui +- hledger-web + +nix: + pure: false + packages: [perl gmp ncurses zlib] + +extra-deps: +# for hledger-lib: +- Cabal-3.4.0.0 +- Decimal-0.5.2 +- Glob-0.10.1 +- Only-0.1 +- aeson-1.5.6.0 +- aeson-pretty-0.8.8 +- ansi-terminal-0.11 +- ansi-wl-pprint-0.6.9 +- assoc-1.0.2 +- attoparsec-0.14.1 +- base-compat-0.11.2 +- base-compat-batteries-0.11.2 +- base-orphans-0.8.4 +- bifunctors-5.5.10 +- binary-0.8.8.0 +- blaze-builder-0.4.2.1 +- blaze-markup-0.8.2.8 +- bytestring-0.11.1.0 +- bytestring-builder-0.10.8.2.0 +- cabal-doctest-1.0.8 +- call-stack-0.3.0 +- case-insensitive-1.2.1.0 + +# TODO failing due to https://github.com/haskell-hvr/cassava/issues/177 +- cassava-0.5.2.0 +#- text-short-0.1.3 + +- cassava-megaparsec-2.0.2 +- clock-0.8.2 +- cmdargs-0.10.21 +- colour-2.3.5 +- comonad-5.0.8 +- csv-0.1.2 +- data-default-0.7.1.1 +- data-default-class-0.1.2.0 +- data-default-instances-containers-0.0.1 +- data-default-instances-dlist-0.0.1 +- data-default-instances-old-locale-0.0.1 +- data-fix-0.3.1 +- directory-1.3.6.1 +- distributive-0.6.2.1@sha256:2823eff05c6b093492efe804027e7cf82757221f934964c76106ac3248899b89,2874 +- dlist-1.0 +- extra-1.7.9 +- file-embed-0.0.13.0 +- hashable-1.3.1.0 +- hashtables-1.2.4.1 +- html-1.0.1.2 +- indexed-traversable-0.1.1@sha256:e330ec1ab336ee2fb1eff117ebe3480d1663396fecd981f185b7123dc7941ae1,2469 +- integer-logarithms-1.0.3.1 +- megaparsec-9.0.1 +- old-locale-1.0.0.7 +- old-time-1.1.0.3 +- optparse-applicative-0.16.1.0 +- parsec-3.1.14.0 +- parser-combinators-1.3.0 +- pretty-simple-4.0.0.0 +- prettyprinter-1.7.0 +- prettyprinter-ansi-terminal-1.1.2 +- primitive-0.7.1.0 +- process-1.6.11.0 +- random-1.2.0 +- regex-base-0.94.0.1 +- regex-tdfa-1.3.1.0 +- safe-0.3.19 +- scientific-0.3.6.2 +- splitmix-0.1.0.3 +- strict-0.4.0.1 +- tabular-0.2.2.8 +- tagged-0.8.6.1 +- tasty-1.4.1 +- tasty-hunit-0.10.0.3 +- text-1.2.4.1 +- th-abstraction-0.4.2.0 +- these-1.1.1.1 +- time-compat-1.9.5 +- timeit-2.0 +- transformers-compat-0.6.6 +- uglymemo-0.1.0.1 +- unbounded-delays-0.1.1.1 +- unix-2.7.2.2 +- unordered-containers-0.2.13.0 +- utf8-string-1.0.2 +- uuid-types-1.0.4 +- vector-0.12.2.0 +- wcwidth-0.0.2 +# for hledger: +- Diff-0.4.0 +- blaze-html-0.9.1.2 +- control-monad-free-0.6.2 +- haskeline-0.8.1.2 +- lucid-2.9.12.1 +- math-functions-0.3.4.2 +- mmorph-1.1.5 +- shakespeare-2.0.25 +- split-0.2.3.4 +- temporary-1.3 +- th-lift-0.8.2 +- utility-ht-0.0.16 +- wizards-1.0.3 +# for hledger-ui: +- QuickCheck-2.14.2 +- StateVar-1.2.1 +- async-2.2.3 +- brick-0.60.2 +- cereal-0.5.8.1 +- config-ini-0.2.4.0 +- contravariant-1.5.3 +- data-clist-0.1.2.3 +- fsnotify-0.3.0.1 +- hfsevents-0.1.6 +- microlens-0.4.12.0 +- microlens-ghc-0.4.13 +- microlens-mtl-0.2.0.1 +- microlens-platform-0.4.2 +- microlens-th-0.4.3.9 +- parallel-3.2.2.0 +- text-zipper-0.11 +- unix-compat-0.5.3 +- vty-5.33 +- word-wrap-0.4.1 +# for hledger-web: +- HUnit-1.6.2.0 +- alex-3.2.6 +- appar-0.1.8 +- asn1-encoding-0.9.6 +- asn1-parse-0.9.5 +- asn1-types-0.3.4 +- attoparsec-iso8601-1.0.2.0 +- auto-update-0.1.6 +- base-unicode-symbols-0.2.4.2 +- base64-bytestring-1.2.0.1 +- basement-0.0.11 +- bsb-http-chunked-0.0.0.4 +- byteable-0.1.1 +- byteorder-1.0.4 +- cipher-aes-0.2.11 +- clientsession-0.9.1.2 +- conduit-1.3.4.1 +- conduit-extra-1.3.5 +- connection-0.3.1 +- cookie-0.4.5 +- cprng-aes-0.6.1 +- crypto-api-0.13.3 +- crypto-cipher-types-0.0.9 +- crypto-random-0.0.9 +- cryptonite-0.28 +- cryptonite-conduit-0.2.2 +- css-text-0.1.3.0 +- easy-file-0.2.2 +- email-validate-2.3.2.13 +- entropy-0.4.1.6 +- fast-logger-3.0.3 +- happy-1.20.0 +- haskell-lexer-1.1 +- hjsmin-0.2.0.4 +- hourglass-0.2.12 +- hspec-2.7.9 +- hspec-core-2.7.9 +- hspec-discover-2.7.9 +- hspec-expectations-0.8.2 +- html-conduit-1.3.2.1 +- http-api-data-0.4.3 +- http-client-0.7.6 +- http-client-tls-0.3.5.3 +- http-conduit-2.3.8 +- http-date-0.0.11 +- http-types-0.12.3 +- http2-2.0.6 +- iproute-1.7.11 +- language-javascript-0.7.1.0 +- libyaml-0.1.2 +- lifted-base-0.2.3.12 +- memory-0.15.0 +- mime-types-0.1.0.9 +- monad-control-1.0.2.3 +- monad-logger-0.3.36 +- monad-loops-0.4.3 +- mono-traversable-1.0.15.1 +- network-3.1.2.1 +- network-byte-order-0.1.6 +- network-uri-2.6.4.1 +- path-pieces-0.2.1 +- pem-0.2.4 +- persistent-2.12.0.2 +- persistent-template-2.12.0.0 +- pretty-show-1.10 +- psqueues-0.2.7.2 +- quickcheck-io-0.2.0 +- resource-pool-0.2.3.2 +- resourcet-1.2.4.2 +- securemem-0.1.10 +- semigroups-0.19.1 +- setenv-0.1.1.3 +- silently-1.2.5.1 +- simple-sendfile-0.2.30 +- skein-1.0.9.4 +- socks-0.6.1 +- stm-chans-3.0.0.4 +- streaming-commons-0.2.2.1 +- tagsoup-0.14.8 +- tf-random-0.5 +- th-compat-0.1.2 +- th-lift-instances-0.1.18 +- time-manager-0.0.0 +- tls-1.5.5 +- transformers-base-0.4.5.2 +- typed-process-0.2.6.0 +- unix-time-0.4.7 +- unliftio-0.2.14 +- unliftio-core-0.2.0.1 +- vault-0.3.1.5 +- vector-algorithms-0.8.0.4 +- wai-3.2.3 +- wai-app-static-3.1.7.2 +- wai-cors-0.2.7 +- wai-extra-3.1.6 +- wai-handler-launch-3.0.3.1 +- wai-logger-2.3.6 +- warp-3.3.14 +- word8-0.1.3 +- x509-1.7.5 +- x509-store-1.6.7 +- x509-system-1.6.6 +- x509-validation-1.6.11 +- xml-conduit-1.9.1.0 +- xml-types-0.3.8 +- xss-sanitize-0.3.6 +- yaml-0.11.5.0 +- yesod-1.6.1.0 +- yesod-core-1.6.18.8 +- yesod-form-1.6.7 +- yesod-persistent-1.6.0.6 +- yesod-static-1.6.1.0 +- yesod-test-1.6.12 +- zlib-0.6.2.3 +# for Shake.hs: + +# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html: +# apply-ghc-options: everything +# rebuild-ghc-options: true +# stack build --profile --ghc-options="-fno-prof-auto" + +# tell GHC to write hie files, eg for weeder. Rumoured to be slow. +# ghc-options: +# "$locals": -fwrite-ide-info + +#allow-newer: true + +# "$locals": -ddump-timings +# "$targets": -Werror +# "$everything": -O2 +# some-package: -DSOME_CPP_FLAG +