Gabriella439 / Gabriella439/Haskell-Morte-Library

transformers version

Open
#67 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
384
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I had trouble installing annah and morte because ghc 8.0.2 bundles a newer transformers than their cabal files allow.

The quick start with stack instructions for morte still work, but the ones for annah failed.

> joey@darkstar:~/tmp/x>cat stack.yaml
> resolver: lts-8.0
> packages: []
> extra-deps:
> - annah-1.0.0
> joey@darkstar:~/tmp/x>stack build annah
> While constructing the BuildPlan the following exceptions were encountered:
>
> -- Failure when adding dependencies:
> optparse-applicative: needed (<0.13), 0.13.1.0 found (latest applicable is 0.12.1.0)
> pipes: needed (>=4.0.0 && <4.2), 4.3.2 found (latest applicable is 4.1.9)
> transformers: needed (>=0.2.0.0 && <0.5), 0.5.2.0 found (latest applicable is 0.4.3.0)
> needed for package annah-1.0.0

I widened the bounds of morte to transformers < 0.7 and it built ok.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported failure with the shown stack.yaml and `stack build annah` command using resolver lts-8.0. Inspect the annah and morte Cabal dependency bounds, especially for transformers, optparse-applicative, and pipes. Done means the quick-start Stack instructions build successfully with the current resolver without requiring a manual bounds change.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.