-
Notifications
You must be signed in to change notification settings - Fork 696
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
default setup-depends for new-build #4954
Comments
Why can't this be fixed by adding a |
It still builds fine with |
This doesn't work with old-style |
OK, fair enough. I'll go file an issue with git-annex. Feel free to close this if you feel it isn't worth implementing. |
If someone wrote a patch implementing this, I'd most likely accept it, but right now I feel there are more important |
This would probably also require support for conditionals in custom-setup (#4286). |
Presuming run time dependencies are needed atbuikd time for setup.hs is very hostile to cross compilation. I am very against this. |
Would it be possible to change the default custom-setup stanza to setup-depends on Cabal + the build-depends of the library and executable(s).
The motivation for this is that git-annex, for example, does not have a custom-setup stanza, and cannot currently be built with cabal new-build.
Currently, attempting to new-build git-annex results in:
The text was updated successfully, but these errors were encountered: