diagrams / diagrams-pandoc

A pandoc filter to express diagrams inline using the haskell EDSL diagrams.
BSD 3-Clause "New" or "Revised" License
38 stars 9 forks source link

Issue with base dependency when installing #20

Closed cannyboy closed 1 year ago

cannyboy commented 3 years ago

I've no experience with Haskell, Cabal etc. This is the error I get when trying to install on macOS 11:


$ cabal install diagrams-pandoc         

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: diagrams-pandoc-0.3.1 (user goal)
[__1] trying: svg-builder-0.1.1 (dependency of diagrams-pandoc)
[__2] next goal: base (dependency of diagrams-pandoc)
[__2] rejecting: base-4.14.0.0/installed-4.14.0.0 (conflict: svg-builder =>
base>=4.5 && <4.14)
[__2] skipping: base-4.14.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=4.5 && <4.14' from
'svg-builder')
[__2] rejecting: base-4.13.0.0, base-4.12.0.0, base-4.11.1.0, base-4.11.0.0,
base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0,
base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0,
base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0,
base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1,
base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1
(constraint from non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: base, diagrams-pandoc, svg-builder)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, diagrams-pandoc, svg-builder```
byorgey commented 3 years ago

Hi @cannyboy , sorry for the long delay in response. This is simply because diagrams-pandoc hasn't yet been updated to work with GHC 8.10. You could try using an older version of GHC or wait for diagrams-pandoc to be updated (hopefully soon).

ozkutuk commented 1 year ago

GHC 8.10 (and onwards until GHC 9.6) are supported on master as reported by CI, closing.