From 92c0653809a0b72413b5db48e50045636b3aad15 Mon Sep 17 00:00:00 2001 From: Gabriel Gonzalez Date: Tue, 13 Jun 2017 21:36:14 -0700 Subject: [PATCH 1/2] Update `release.nix` instructions. Fixes #19 We no longer require the `--with-gcc=clang` flag and it can cause failed builds such as the one described in #19. I tested that the `cabal` workflow works on OS X and NixOS without this flag --- release.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.nix b/release.nix index d1fefc3..1bb8759 100644 --- a/release.nix +++ b/release.nix @@ -3,7 +3,7 @@ # $ # Consider adding the following command to your `~/.profile` # $ NIX_PATH="${NIX_PATH}:ssh-config-file=${HOME}/.ssh/config:ssh-auth-sock=${SSH_AUTH_SOCK}" # $ nix-shell -A grpc-haskell.env release.nix -# [nix-shell]$ cabal configure --with-gcc=clang --enable-tests && cabal build && cabal test +# [nix-shell]$ cabal configure --enable-tests && cabal build && cabal test # # This will open up a Nix shell where all of your Haskell tools will work like # normal, except that all dependencies (including C libraries) are managed by From 8207f6ecf677e24b96fa9cb0242a2c556a207d19 Mon Sep 17 00:00:00 2001 From: Gabriel Gonzalez Date: Wed, 14 Jun 2017 07:06:14 -0700 Subject: [PATCH 2/2] Remove `--with-gcc=clang` from `README.md`, too --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3dcdd25..5f973cc 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ used to give you a development environment where you can use the `cabal` and ```bash $ nix-shell release-nix -A grpc-haskell.env -[nix-shell]$ cabal configure --with-gcc=clang --enable-tests && cabal build && cabal test +[nix-shell]$ cabal configure --enable-tests && cabal build && cabal test ``` ```bash