-
Notifications
You must be signed in to change notification settings - Fork 7
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
Drop cabal flags as a mean to add capabilities to etc #43
Comments
Indeed, the problem is that the |
The .cabal file is autogenerated by hpack, I'm not sure how to specify these flags in the .package file. |
Who is calling the cabal command? I know you can specify cabal flags via CLI |
I have no idea what calls the cabal command on hackage, it doesn't seem to say in the build log. |
Is it possible to release a version that has these flags on by default? I don't really understand the use case for having these features disabled. |
I've asked on freenode and been told it isn't possible to express a dependency on a package built with a specific flag, so it doesn't seem like hackage will be able to build projects using etc while the feature flags are disabled by default. |
I'm sorry for the troubles @locallycompact; I did add the cabal flags to reduce the footprint of dependencies. I'll add tickets to re-implement this feature strategy by having different projects:
These changes will require some refactoring of the internals of the project. I think those are necessary to move forward with adding new backends (AWS parameter-store comes to mind). Thanks for using the library, and apologies for choosing Cabal Flags for this functionality :-( |
Hi, I'm using this as a dependency in a project on hackage but it's failing to build the executable. I guess it's something to do with the flags in stack.yaml not reaching hpack? Is it possible to declare these in hpack directly?
Here's the error: http://hackage.haskell.org/package/baserock-schema-0.0.3.4/reports/3
The text was updated successfully, but these errors were encountered: