Skip to content

Test suite build failure with Cabal 2.0 #596

@snoyberg

Description

@snoyberg

You'll need to add time to the test suite dependencies.

Building test suite 'doctests' for hledger-lib-1.3..

Hledger/Data/Dates.hs:78:0: error:
     error: missing binary operator before token "("
     #if MIN_VERSION_time(1,5,0)
     ^
   |
78 | #if MIN_VERSION_time(1,5,0)
   | ^

Hledger/Data/Dates.hs:488:0: error:
     error: missing binary operator before token "("
     #if MIN_VERSION_time(1,5,0)
     ^
    |
488 | #if MIN_VERSION_time(1,5,0)
    | ^
`gcc' failed in phase `C pre-processor'. (Exit code: 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.packagingDependencies, version constraints, packaging..toolshledger developer tools, scripts, processes..

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions