`executable-dynamic: True` should apply to `build-type: Custom` setup
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I have a Haskell installation with only shared libraries, and cabal's config contains:
```
library-vanilla: False
library-profiling: False
shared: True
executable-dynamic: True
```
This fails for packages with `build-type: Custom`, because cabal-install tries to link `setup` against non-existent static libraries.
Contributor guide
Research direction
Start by tracing cabal-install's handling of packages with build-type: Custom and the setup executable when only shared libraries are configured. Reproduce the failure with the reported library-vanilla, library-profiling, shared, and executable-dynamic settings; done means setup links successfully without requiring unavailable static libraries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100