# stack build plan using GHC 9.2.1 # XXX This is WIP; some deps like shakespeare don't build yet. hledger-lib builds. nix: pure: false packages: [perl gmp ncurses zlib] resolver: ghc-9.2.1 packages: - hledger-lib - hledger - hledger-ui - hledger-web # for https://github.com/yesodweb/shakespeare/issues/261, eg allow-newer: true extra-deps: # for hledger-lib: - Decimal-0.5.2 - Glob-0.10.2 - OneTuple-0.3.1 - Only-0.1 - StateVar-1.2.2 - aeson-2.0.2.0 - aeson-pretty-0.8.9 - ansi-terminal-0.11.1 - ansi-wl-pprint-0.6.9 - assoc-1.0.2 - attoparsec-0.14.2 - base-compat-0.12.1 - base-compat-batteries-0.12.1 - base-orphans-0.8.6 - bifunctors-5.5.11 - blaze-builder-0.4.2.2 - blaze-markup-0.8.2.8 - cabal-doctest-1.0.9 - call-stack-0.4.0 - case-insensitive-1.2.1.0 - cassava-0.5.2.0 - cassava-megaparsec-2.0.4 - clock-0.8.2 - cmdargs-0.10.21 - colour-2.3.6 - comonad-5.0.8 - contravariant-1.5.5 - 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.2 - distributive-0.6.2.1 - dlist-1.0 - doclayout-0.3.1.1 - emojis-0.1.2 - extra-1.7.10 - file-embed-0.0.15.0 - hashable-1.4.0.1 - hashtables-1.3 - html-1.0.1.2 - indexed-traversable-0.1.2 - indexed-traversable-instances-0.1.1 - integer-logarithms-1.0.3.1 - megaparsec-9.2.0 - microlens-0.4.12.0 - microlens-th-0.4.3.10 - old-locale-1.0.0.7 - optparse-applicative-0.16.1.0 - parser-combinators-1.3.0 - pretty-simple-4.0.0.0 - prettyprinter-1.7.1 - prettyprinter-ansi-terminal-1.1.3 - primitive-0.7.3.0 - random-1.2.1 - regex-base-0.94.0.2 - regex-tdfa-1.3.1.1 - safe-0.3.19 - scientific-0.3.7.0 - semialign-1.2.0.1 - semigroupoids-5.3.6 - splitmix-0.1.0.4 - strict-0.4.0.1 - tabular-0.2.2.8 - tagged-0.8.6.1 - tasty-1.4.2.1 - tasty-hunit-0.10.0.3 - text-short-0.1.4 - th-abstraction-0.4.3.0 - these-1.1.1.1 - time-compat-1.9.6.1 - timeit-2.0 - transformers-compat-0.6.1.6 - uglymemo-0.1.0.1 - unbounded-delays-0.1.1.1 - unordered-containers-0.2.16.0 - utf8-string-1.0.2 - uuid-types-1.0.5 - vector-0.12.3.1 - wcwidth-0.0.2 - witherable-0.4.2 # for hledger: - Diff-0.4.0 - blaze-html-0.9.1.2 - control-monad-free-0.6.2 - githash-0.1.6.2 - lucid-2.11.0 - math-functions-0.3.4.2 - mmorph-1.2.0 - shakespeare-2.0.25 - split-0.2.3.4 - temporary-1.3 - th-compat-0.1.3 - th-lift-0.8.2 - utility-ht-0.0.16 - wizards-1.0.3 # for hledger-ui: - QuickCheck-2.14.2 - async-2.2.4 - brick-0.65 - cereal-0.5.8.2 - config-ini-0.2.4.0 - data-clist-0.1.2.3 - fsnotify-0.3.0.1 - hfsevents-0.1.6 - microlens-ghc-0.4.13.1 - microlens-mtl-0.2.0.1 - microlens-platform-0.4.2.1 - parallel-3.2.2.0 - text-zipper-0.11 - unix-compat-0.5.3 - vty-5.33 - word-wrap-0.5 # 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-0.4.2.3 - base64-bytestring-1.2.1.0 - basement-0.0.12 - 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.2 - 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.29 - cryptonite-conduit-0.2.2 - css-text-0.1.3.0 - easy-file-0.2.2 - email-validate-2.3.2.15 - entropy-0.4.1.7 - fast-logger-3.0.5 - ghc-byteorder-4.11.0.0.10 - happy-1.20.0 - haskell-lexer-1.1 - hjsmin-0.2.0.4 - hourglass-0.2.12 - hspec-2.9.3 - hspec-core-2.9.3 - hspec-discover-2.9.3 - hspec-expectations-0.8.2 - html-conduit-1.3.2.2 - http-api-data-0.4.3 - http-client-0.7.9 - http-client-tls-0.3.5.3 - http-conduit-2.3.8 - http-date-0.0.11 - http-types-0.12.3 - http2-3.0.2 - iproute-1.7.12 - language-javascript-0.7.1.0 - libyaml-0.1.2 - lift-type-0.1.0.1 - lifted-base-0.2.3.12 - memory-0.16.0 - mime-types-0.1.0.9 - monad-control-1.0.3.1 - monad-logger-0.3.36 - monad-loops-0.4.3 - mono-traversable-1.0.15.3 - network-3.1.2.5 - network-byte-order-0.1.6 - network-uri-2.6.4.1 - old-time-1.1.0.3 - path-pieces-0.2.1 - pem-0.2.4 - persistent-2.13.2.1 - persistent-template-2.12.0.0 - pretty-show-1.10 - psqueues-0.2.7.3 - quickcheck-io-0.2.0 - resource-pool-0.2.3.2 - resourcet-1.2.4.3 - securemem-0.1.10 - setenv-0.1.1.3 - silently-1.2.5.2 - simple-sendfile-0.2.30 - skein-1.0.9.4 - socks-0.6.1 - stm-chans-3.0.0.6 - streaming-commons-0.2.2.3 - tagsoup-0.14.8 - tf-random-0.5 - th-lift-instances-0.1.18 - time-manager-0.0.0 - tls-1.5.5 - transformers-base-0.4.6 - typed-process-0.2.8.0 - unix-time-0.4.7 - unliftio-0.2.20 - 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.7 - wai-handler-launch-3.0.3.1 - wai-logger-2.3.6 - warp-3.3.18 - 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.1 - xml-types-0.3.8 - xss-sanitize-0.3.7 - yaml-0.11.7.0 - yesod-1.6.1.2 - yesod-core-1.6.21.0 - yesod-form-1.7.0 - yesod-persistent-1.6.0.7 - yesod-static-1.6.1.0 - yesod-test-1.6.12 - zlib-0.6.2.3 # for Shake.hs: #allow-newer: true # 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 # ghc-options: # "$locals": -ddump-timings # "$targets": -Werror # "$everything": -O2 # some-package: -DSOME_CPP_FLAG