--flags option has unclear semantics when multiple packages are involved
Open
cabal-install: other
documentation
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
ghc 7.10.2
cabal 1.22.6.0
This is working:
> cabal install hmatrix --flags=openblas
This is not:
> cabal install --only-dependencies --flags=openblas
Where hmatrix is a dependency of subhask.
Contributor guide
Research direction
Reproduce the two commands with ghc 7.10.2 and cabal 1.22.6.0, comparing direct installation of hmatrix with --only-dependencies through subhask. Start by tracing how --flags is interpreted for dependency packages; done means the multi-package behavior is defined and the failing command either works consistently or has a clearly documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100