mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-14 07:09:41 +01:00
8a6a7c3715
* Update tests.patch * release.nix fixes for building and running cabal test suite from inside the nix-shell environment * Update build instructions * More README updates * Fix stack tooling and improve documentation * Update grpc sha256, cleanup build instructions * Whups, DYLD_LIBRARY_PATH and substituteInPlace is still needed for hydra / macos builds with no brew-installed grpc! * PR feedback tweaks
25 lines
852 B
Diff
25 lines
852 B
Diff
diff --git a/tests/simple-client.sh b/tests/simple-client.sh
|
|
index 066a0ca..fc5b693 100755
|
|
--- a/tests/simple-client.sh
|
|
+++ b/tests/simple-client.sh
|
|
@@ -11,3 +11,8 @@ ghc \
|
|
$hsTmpDir/Simple.hs \
|
|
tests/TestClient.hs \
|
|
> /dev/null
|
|
+
|
|
+
|
|
+. @makeWrapper@/nix-support/setup-hook
|
|
+
|
|
+flagsBefore="" wrapProgram "${hsTmpDir}/simple-client" --prefix DYLD_LIBRARY_PATH : @grpc@/lib
|
|
diff --git a/tests/simple-server.sh b/tests/simple-server.sh
|
|
index b66db5c..c8a679a 100755
|
|
--- a/tests/simple-server.sh
|
|
+++ b/tests/simple-server.sh
|
|
@@ -11,3 +11,7 @@ ghc \
|
|
$hsTmpDir/Simple.hs \
|
|
tests/TestServer.hs \
|
|
> /dev/null
|
|
+
|
|
+. @makeWrapper@/nix-support/setup-hook
|
|
+
|
|
+flagsBefore="" wrapProgram "${hsTmpDir}/simple-server" --prefix DYLD_LIBRARY_PATH : @grpc@/lib
|