Adding to `extra-lib-dirs` in `.cabal/config` rebuilds everything
Open
re: config-file
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I added directories to `extra-lib-dirs` and `extra-include-dirs` in my `.cabal/config`, and now any `cabal build` will rebuild all dependencies, regardless whether they are affected by this change or not.
The current situation is sound and thus an improvement over:
- #2662
However, rebuilding everything is a crude solution and can be quite costly (e.g. `pandoc` takes 1h to build from scratch).
Just _adding_ library directories should be _monotonic_ and not require rebuilding everything.
Contributor guide
Assessment
This issue has not been assessed yet.