cabal v2-install fails late if symlink target already exists
Open
attention: pr-welcome
cabal-install: v2-build system
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
(continuing from #5491)
Right now `cabal v2-install x` first builds x and then attempts to symlink its executables, failing if they already exist.
Instead, we should check for existing symlinks before building anything, and fail as early as possible. See https://github.com/haskell/cabal/issues/5491#issuecomment-433032100 and previous comments
Contributor guide
Assessment
This issue has not been assessed yet.