haskell / haskell/cabal

Bikeshedding "recompilation avoidance"-avoidance!

Open
#5,300 6 comments 0 reactions 0 assignees View on GitHub
cabal-install: v2-build system status: consider closing type: discussion type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

As brought up (I think mostly by me? ;)) in #4247 and #5287 `new-build` aggressive caching (and my attempts to make it even more so) leads to a problem where you *want* things to be rebuild, but `cabal-install` decides it doesn't have to. For example, adding new warning flags or debug dump flags, and perhaps even more reasons I'm not considering right now.

As a result, I think we some UI/flag to force cabal-install to rebuild something. I think we'd want two flags, one that just rebuilds every local package and one to specify 1 or more local packages to be rebuild. However, I'm terrible at naming things and maybe there's other cases we'd like covered too, so please bikeshed away.

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.