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:/mnt]# cabal build
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
- grpc-haskell-core-0.0.0.0 (lib) (first run)
- grpc-haskell-0.0.1.0 (lib) (first run)
Configuring library for grpc-haskell-core-0.0.0.0..
cabal: Missing dependencies on foreign libraries:
* Missing (or bad) header file: include/grpc_haskell.h
* Missing (or bad) C libraries: grpc, gpr
Context: I'm trying to build this on MacOS and hence (post the MacOS Catalina debacle) running in Docker for Mac. I've had to make the following change (as per #59) to disable tests as some of them try to create ipv6 localhost sockets and that doesn't seem to be supported on docker for Mac
Following that, the steps to reproduce are the following (from the root dir of a clone of this repo):
docker run --rm -ti -v $PWD:/mnt nixos/nix:2.3 sh
cd /mnt
nix-env -i curl cabal-install #cabal seems to be broken otherwise as it will try to use busybox wget
cabal update
nix-shell release.nix -A grpc-haskell-no-tests.env
cabal configure
cabal build
Sorry, that's a lot of text! But should give full steps to reproduce. I'm afraid my nix knowledge is still a little lacking so for my own edification: will the above result in cabal using haskell packages provided by nix rather than from hackage? Obviously that is normally what we want when using nix but I wasn't clear on how the cabal nix-support works
The text was updated successfully, but these errors were encountered:
I'm getting the following:
Context: I'm trying to build this on MacOS and hence (post the MacOS Catalina debacle) running in Docker for Mac. I've had to make the following change (as per #59) to disable tests as some of them try to create ipv6 localhost sockets and that doesn't seem to be supported on docker for Mac
Following that, the steps to reproduce are the following (from the root dir of a clone of this repo):
Sorry, that's a lot of text! But should give full steps to reproduce. I'm afraid my nix knowledge is still a little lacking so for my own edification: will the above result in cabal using haskell packages provided by nix rather than from hackage? Obviously that is normally what we want when using nix but I wasn't clear on how the cabal nix-support works
The text was updated successfully, but these errors were encountered: