haskell / haskell/cabal

cabal build doesn't rebuild if executable is moved/deleted and inputs haven't changed since its last build.

Open
#4,615 2 comments 0 reactions 0 assignees View on GitHub
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

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.