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

Fix cabal build with-examples #112

Closed
greglaun-google opened this issue Dec 29, 2020 · 1 comment · Fixed by #115
Closed

Fix cabal build with-examples #112

greglaun-google opened this issue Dec 29, 2020 · 1 comment · Fixed by #115

Comments

@greglaun-google
Copy link

I'm unable to build the examples from master on a stock Ubuntu VM. I'm building using cabal rather than stack.

Most recently, the build was broken by PR #110, which upgraded proto3-wire and proto3-suite.

The version released on Hackage (https://hackage.haskell.org/package/grpc-haskell) also fails to build.

Steps to reproduce:

  1. Grab an Ubuntu Groovy VM
  2. Run 'sudo apt-get update`
  3. Install Nix following https://nixos.org/download.html
  4. git clone https://github.com/awakesecurity/gRPC-haskell.git
  5. Run nix-shell release.nix -A grpc-haskell.env, which succeeds.
  6. Run cabal configure --enable-tests && cabal build && cabal test, which succeeds.
  7. Finally, run cabal configure --enable-tests -f with-examples && cabal build && cabal test

Expected result: Build succeeds.

Actual result:

build fails with an error "The constructor ‘ServiceOptions’ should have 9 arguments, but has been given 8."

Gabriella439 added a commit that referenced this issue Jan 9, 2021
@Gabriella439
Copy link
Contributor

Fix is up here: #115

Gabriella439 added a commit that referenced this issue Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants