Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

our cabal.project is not compatible with cabal-install 3.4 #1365

Copy link
Copy link

Description

@simonmichael
Issue body actions

Reported by maerwald in #haskell, using cabal-install 3.4 prerelease:

$ cabal build all                                                                 47.7s  Tue 22:30
cabal: Error parsing project file /home/jule/git/hledger/cabal.project:6:
"<eitherParsec>" (line 2, column 1):
unexpected 'c'
expecting space, comma, white space or end of input

Our cabal.project file:

      1 packages: hledger-lib
      2           hledger
      3           hledger-ui
      4           hledger-web
      5
      6 allow-newer:
      7   brick:base
      8   config-ini:containers
      9
     10 -- generate a ghc environment file, needed by doctest
     11 -- (eg: ./.ghc.environment.x86_64-darwin-8.8.3).
     12 -- cabal 3 doesn't write these by default.
     13 -- https://github.com/simonmichael/hledger/issues/1139
     14 -- https://github.com/sol/doctest/issues/245#issuecomment-583171683
     15 -- cabal 2 doesn't understand this flag, but it's just a warning; should be ok.
     16 -- cabal 3 still fails with doctest the first time; you have to run it
     17 -- a second time. Hopefully in practice it won't fail, because of a
     18 -- preceding cabal build.
     19 write-ghc-environment-files: always

It's fine with cabal-install 3.2. We need it to be compatible with old and new cabal-install versions.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.toolshledger developer tools, scripts, processes..hledger developer tools, scripts, processes..

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.