cabal build doesn't rebuild if executable is moved/deleted and inputs haven't changed since its last build.
Open
cabal-install: v2-build system
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
If you compile a project with `new-build` and move/delete the executable, cabal doesn't actually check for the executables existence. So if none of the inputs have changed since the last build it will happily conclude "nothing to do!" and exit without building executable, leaving it impossible to rebuild deleted executables without nuking the cache.
Contributor guide
Assessment
This issue has not been assessed yet.