You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nix-shell release.nix -A grpc-haskell.env
...
[nix-shell:~/gRPC-haskell]$ stack build --flag grpc-haskell:with-examples
grpc-haskell-core-0.0.0.0: configure (lib)
aeson-pretty-0.8.5: download
insert-ordered-containers-0.2.1.0: download
grpc-haskell-core-0.0.0.0: build (lib)
aeson-pretty-0.8.5: configure
aeson-pretty-0.8.5: build
insert-ordered-containers-0.2.1.0: configure
insert-ordered-containers-0.2.1.0: build
aeson-pretty-0.8.5: copy/register
insert-ordered-containers-0.2.1.0: copy/register
Log files have been written to: /Users/foo/gRPC-haskell/.stack-work/logs/
Progress: 3/6
-- While building custom Setup.hs for package grpc-haskell-core-0.0.0.0 using:
/Users/foo/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build lib:grpc-haskell-core --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /Users/foo/gRPC-haskell/.stack-work/logs/grpc-haskell-core-0.0.0.0.log
Configuring grpc-haskell-core-0.0.0.0...
Preprocessing library grpc-haskell-core-0.0.0.0...
c2hs: C header contains errors:
/usr/include/time.h:153: (column 72) [ERROR] >>> Syntax error !
The symbol `__attribute__' does not fit here.
The text was updated successfully, but these errors were encountered:
@dsvensson: Sorry for the delay in responding. In general, stack and Nix don't play well with each other because stack does not reuse the Nix logic for building Haskell dependencies (like grpc-haskell-core). I recommend using cabal build instead of stack build. However, if you still run into the same issue when using cabal build then let me know
…curity#61)
Fixesawakesecurity#60
The `Proto3.Suite.DotProto.Generate` module backported `liftEither` to a
local definition to support older versions of the `mtl` but was missing
a forwards-compatible CPP guard to avoid conflicting with the open import
of `Control.Monad.Except`
The text was updated successfully, but these errors were encountered: