Skip to content

Cannot build gotta-go-fast with stack due to Brick change #19

@traytonwhite

Description

@traytonwhite

Trying to install via stack using 2.11.1, I receive the below error messages when Compiling UI:

gotta-go-fast> [2 of 3] Compiling UI
gotta-go-fast>
gotta-go-fast> /tmp/stack-3aa31ed64d0d84e1/gotta-go-fast-0.3.0.8/src/UI.hs:6:65: error: Module ‘Brick’ does not export ‘Next’
gotta-go-fast>   |
gotta-go-fast> 6 |                                          EventM, Location (..), Next,
gotta-go-fast>   |                                                                 ^^^^
gotta-go-fast>
gotta-go-fast> /tmp/stack-3aa31ed64d0d84e1/gotta-go-fast-0.3.0.8/src/UI.hs:8:52: error: Module ‘Brick’ does not export ‘continue’
gotta-go-fast>   |
gotta-go-fast> 8 |                                          attrName, continue, defaultMain,
gotta-go-fast>   |                                                    ^^^^^^^^

It appears at v1 Brick moved away from Next and continue to a different control flow mechanism: https://github.com/jtdaugherty/brick/blob/master/CHANGELOG.md#10

Not sure if you'd prefer to add a version cap to the gotta-go-fast.cabal file:

, brick >= 0.21

Or update to use the new control flow mechanism.

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