hledger/cabal.project
toonn ec40f5bd78 ; cabal.project: Drop compatibility comment
The offending syntax is no longer used so the comment can be removed
too. Ideally `allow-newer` isn't used in the project's setup. The
problem should rather be fixed by adjusting constraints, though these
adjustments may need to be made in dependencies upstream.

Fixes #1365

[ci skip]
2021-10-08 08:31:43 -10:00

16 lines
636 B
Plaintext

packages: hledger-lib
hledger
hledger-ui
hledger-web
-- generate a ghc environment file, needed by doctest
-- (eg: ./.ghc.environment.x86_64-darwin-8.8.3).
-- cabal 3 doesn't write these by default.
-- https://github.com/simonmichael/hledger/issues/1139
-- https://github.com/sol/doctest/issues/245#issuecomment-583171683
-- cabal 2 doesn't understand this flag, but it's just a warning; should be ok.
-- cabal 3 still fails with doctest the first time; you have to run it
-- a second time. Hopefully in practice it won't fail, because of a
-- preceding cabal build.
write-ghc-environment-files: always