commercialhaskell / commercialhaskell/stack

Stack is missing cabal's --extra-framework-dirs

Open
#4,022 3 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

I'm working on a macOS-specific package that needs to link against frameworks. With cabal, I need to configure like this:

```bash
$ cabal configure --extra-framework-dirs=/System/Library/Frameworks/ ...
```

But stack seems to have no equivalent option. I'm sure it's possible to get around this with --ghc-options, but it'd be nice to be able to stick this in stack.yaml, just like extra-lib-dirs. I'd imagine that extra-framework-dirs works just like extra-lib-dirs and that this would be easy to add, but I don't know for sure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.