commercialhaskell / commercialhaskell/stack
stack init --constraint
Open
awaiting pull request
component: init / new
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
Splitting this from #1628.
As discussed in #1628, we need a --constraint option for stack init to specify constraints on snapshot selection. The primary motivation for this was to have a way to constrain snapshot selection to a particular compiler version by saying something like --constraint==ghc-x.y.z.
It is desired that this works just like the cabal constraint option and has a similar syntax.
Contributor guide
Assessment
This issue has not been assessed yet.