commercialhaskell / commercialhaskell/stack

Stack duplicates BuildTypes from Stackage

Open
#2,566 0 comments 0 reactions 0 assignees View on GitHub
component: code quality
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

To fix #2487 I needed to adapt stack to https://github.com/fpco/stackage-curator/commit/67484d7d9e235c2a1ea725131390f19d0f13cde6.

This requires adapting a copy of BuildPlan from https://github.com/fpco/stackage-curator/blob/67484d7d9e235c2a1ea725131390f19d0f13cde6/Stackage/Types.hs#L119. We also duplicate the Aeson instances.

Turns out we already miss `build-tool-override`, and I'm not going to fix that for #2487 to have a minimal fix before the release.

A possible solution would be to declare these shared types in an external package maybe?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.