cabal-install cannot pass package ids to the build process
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
(Imported from [Trac #937](http://hackage.haskell.org/trac/hackage/ticket/937), reported by @kosmikus on 2012-04-05)
The solver determines an install plan that fixes package ids of installed packages.
However, the Setup interface currently does not allow us to specify package ids once we start building; we can only fix the versions.
This can lead to problems in situations where multiple instances of the same package version are installed on a system, and the install plan selects one, but we cannot uniquely communicate that to the builder.
Contributor guide
Research direction
Trace how the solver's install plan reaches the Setup interface and where package versions are currently passed to the build process. Reproduce a case with multiple installed instances of one package version, then verify that the selected package id is communicated unambiguously to the builder.
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