haskell / haskell/cabal

cabal v2-install fails late if symlink target already exists

Open
#6,832 1 comment 0 reactions 0 assignees View on GitHub
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

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.