Skip to content

Unclear instructions in README how to build with stack #362

@vaclavsvejcar

Description

@vaclavsvejcar

I'm trying to build brittany from master using stack, so I checked readme and it says to use:

stack install brittany # --resolver lts-16.31

which doesn't seem correct because obviously current version requires GHC 9.x. I also tried with latest nightly (nightly-2022-01-04) but it doesn't seem to fit as well:

Selected resolver: nightly-2022-01-04
Resolver 'nightly-2022-01-04' does not have all the packages to match your requirements.
    aeson version 1.5.6.0 found
        - brittany requires >=2.0.1 && <2.1
    butcher not found
        - brittany requires >=1.3.3 && <1.4
    data-tree-print not found
        - brittany requires >=0.1.0 && <0.2
    multistate not found
        - brittany requires >=0.8.0 && <0.9
    text version 1.2.4.1 found
        - brittany requires >=1.2.5 && <1.3
    Using package flags:
        - brittany: FlagName "pedantic" = False

Is actually brittany still intended to be built using any existing stack resolver? I know this is probably low priority stuff, but maybe it would be nice to have working stack.yaml to make it easier building brittany using stack, if possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions