IntersectMBO / cardano-db-sync

A component that follows the Cardano chain and stores blocks and transactions in PostgreSQL
Apache License 2.0
292 stars 161 forks source link

Fix concurrent-output related TODO in the cabal.project file #1818

Closed erikd closed 3 months ago

erikd commented 3 months ago

The cabal.project file currently has:

-- concurrent-output is incompatible with our haskell.nix version due to
-- arch(wasm32).
-- TODO[sgillespie]: Upgrade haskell.nix
constraints:
  , concurrent-output < 1.10.19

Trying to build db-sync with ghc-9.10 results in a failure in the dependency solver:

> cabal build all
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: cardano-chain-gen-13.4.0.0 (user goal)
[__1] trying: text-2.1.1/installed-inplace (dependency of cardano-chain-gen)
[__2] trying: template-haskell-2.22.0.0/installed-inplace (dependency of text)
[__3] trying: plutus-ledger-api-1.32.0.0 (dependency of cardano-chain-gen)
[__4] trying: plutus-tx-1.32.0.0 (dependency of plutus-ledger-api)
[__5] trying: hedgehog-1.5 (dependency of plutus-tx)
[__6] next goal: concurrent-output (dependency of hedgehog)
[__6] rejecting: concurrent-output-1.10.21, concurrent-output-1.10.20,
concurrent-output-1.10.19 (constraint from project config
/home/erikd/IOHK/NewCodeBase/cardano-db-sync/cabal.project requires <1.10.19)

That will need to be fixed before ghc-9.10 can be supported.