Unclear instructions in README how to build with stack #362
Labels
No Label
blocked: dependency
blocked: info-needed
bug
duplicate
enhancement
fixed in HEAD
help wanted
hs:arrows
hs:brackets
hs:classes
hs:comments
hs:do-notation
hs:guards
hs:lists
hs:operators
hs:patterns
hs:records
hs:types
invalid
language extension support
layouting
needs confirmation
priority: high
priority: low
question
revisit before next release
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hexagoxel/brittany#362
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I'm trying to build brittany from
master
using stack, so I checked readme and it says to use: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: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?
I changed the resolver at the suggestion of #361. Brittany isn't really intended to be installed with Stack. Some of its dependencies aren't on Stackage (butcher, data-tree-print, and multistate). Others are too old (aeson). Others are too new (text).
In theory this is solvable, but I don't have the bandwidth to support the build matrix necessary to build with all these dependencies.
Brittany could supply a
stack.yaml
to allow building it with Stack. That would only work for checking out the whole repo and building it withstack build
. It wouldn't help at all withstack install brittany
.Just fyi, I was able to build
brittany
frommaster
(0aa04af
) using followingstack.yaml
:Given that brittany is command line tool and not library, maybe the range of supported GHC versions might not be such large and if only one major version will be supported (let's say only
9.0.x
), maybe it might not be that difficult to put together some workingstack.yaml
to make it easier for folks willing to build brittany using Stack? If you'd be interested, I can try to help with this.