-
Notifications
You must be signed in to change notification settings - Fork 248
How do I build a component that uses proto-lens-protoc? #241
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
Comments
I'm also interested in this. It seems to pull down |
If your setup doesn't declare that it needs the exectuable in question (which is the case for You can do this by setting A package-level |
@michaelpj Thanks! That's a great fleshed out example of a more complex build. Would be awesome to see an example like that in the docs. |
For sure, we could document this better (although I'm reluctant to add more big examples until we fix #518). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, this is a post-to-the-right-project move of input-output-hk/stack2nix#170 -- I had a stack project that used proto-lens-protoc, and there are both haskell packages and top-level nix packages for this.
I frankly don't care if the solution is hacky, but what's the simplest (to do now, to keep working later) method of getting my proto's sorted for my package? The custom setup used /just/ generates haskell from the .proto files. So any invocation of the protoc compiler that results in the files being in a place that's accessible (and not in my src/ directory, where version control's an issue) for compilation is fine by me.
The text was updated successfully, but these errors were encountered: