commercialhaskell / commercialhaskell/stack
Support using a custom Cabal
Open
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
It's sometimes useful to use Stack with a custom version of Cabal. e.g. because a bug has been fixed upstream in `master` but not yet released on Hackage. Stack has `stack setup --upgrade-cabal`, which changes the version of Cabal used, "globally". But from what I can tell, there is no way to ask for a custom Cabal.
Something like the following would be nice:
```
$ stack setup --upgrade-cabal --cabal-sdist URL
```
Ideally though, this would only apply to the local project, not globally.
Any ideas for workarounds for this in the meantime would be appreciated.
cc @robinbb @facundominguez
Contributor guide
Assessment
This issue has not been assessed yet.