Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable building of executables in dependencies #2050

Open
robdockins opened this issue Apr 21, 2016 · 1 comment
Open

Disable building of executables in dependencies #2050

robdockins opened this issue Apr 21, 2016 · 1 comment

Comments

@robdockins
Copy link

I have a situation where I depend on the library component of some packages, but don't want to build their executable components (because I don't need them, and they fail to compile for reasons I'm not interested in fixing).

I haven't been able to find any configuration knobs that will let me do this.

@mgsloan
Copy link
Contributor

mgsloan commented Apr 22, 2016

Yeah, this'd be nice. Note that unfortunately there are already Cabal issues that make it difficult to omit building executables - #1406 . I think it is likely possible to work around it, but I haven't had time to investigate deeply anytime recently.

@mgsloan mgsloan added this to the P3: Optional milestone Apr 22, 2016
runeksvendsen added a commit to runeksvendsen/crypto-orderbook-db that referenced this issue Sep 7, 2020
Because Stack requires building dependency executables, which fails
because of "GitHash.tGitInfoCwd".

Track: commercialhaskell/stack#2050
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants