haskell / haskell/cabal

Add ability to prevent cabal from deleting intermediates

Open
#5,106 1 comment 0 reactions 0 assignees View on GitHub
cabal-install: other Cabal: other type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I'm currently trying to debug `Setup` issue and have found that `cabal-install` makes this much harder than necessary as it deletes the linked `Setup` executable after running. It would be nice if `cabal-install` would grow a flag to preserve intermediates like this to ease debugging.

Contributor guide

Open the contributing guide

Research direction

Start by tracing cabal-install's cleanup after the linked Setup executable runs, then inspect how command-line flags are handled. The requested behavior is a flag that preserves intermediates for debugging; done means the Setup executable remains when the flag is enabled, with coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.