commercialhaskell / commercialhaskell/stack
Support extensions in stack.yaml
Open
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
If you have multiple projects in a single stack.yaml, and want them to share the same list of default extensions, that's quite hard to do. You can specify:
```
ghc-options:
"*": -XFoo
```
But that has two problems:
* It gets applied to packages you install as dependencies that are not in your project.
* It doesn't get applied when running `stack haddock`, so the extensions aren't reflected.
One solution would be adding an explicit `extensions` key which is plumbed through everywhere.
Contributor guide
Assessment
This issue has not been assessed yet.