rethinkdb: build on darwin

This commit is contained in:
Jude Taylor
2015-10-19 18:40:55 -07:00
parent 97ebba6f1a
commit 68087185e3
3 changed files with 18 additions and 4 deletions

View File

@@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
rm -rf gtest
cp -r ${gtest.source} gtest
chmod -R a+w gtest
'' + stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace src/google/protobuf/testing/googletest.cc \
--replace 'tmpnam(b)' '"'$TMPDIR'/foo"'
'';
buildInputs = [ autoreconfHook zlib ];