diff options
author | Piotr Bogdan <ppbogdan@gmail.com> | 2017-08-31 15:53:06 +0100 |
---|---|---|
committer | Piotr Bogdan <ppbogdan@gmail.com> | 2017-08-31 15:53:06 +0100 |
commit | 26ebbac2c42f2d2bb898e9669b2459ff63d0563e (patch) | |
tree | bc64df3d62cd3786958dbb49a0e8fc0aab81dfff /pkgs/servers/nosql | |
parent | 0bb2d3112b259940df18ec6c0203bb01234f4e48 (diff) |
rethinkdb: fix build with gcc6
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r-- | pkgs/servers/nosql/rethinkdb/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/nosql/rethinkdb/default.nix b/pkgs/servers/nosql/rethinkdb/default.nix index cc82e75a61543..e935b5d098797 100644 --- a/pkgs/servers/nosql/rethinkdb/default.nix +++ b/pkgs/servers/nosql/rethinkdb/default.nix @@ -12,6 +12,13 @@ stdenv.mkDerivation rec { sha256 = "0a6wlgqa2flf87jrp4fq4y9aihwyhgwclmss56z03b8hd5k5j8f4"; }; + patches = [ + (fetchurl { + url = "https://github.com/rethinkdb/rethinkdb/commit/871bd3705a1f29c4ab07a096d562a4b06231a97c.patch"; + sha256 = "05nagixlwnq3x7441fhll5vs70pxppbsciw8qjqp660bdb5m4jm1"; + }) + ]; + postPatch = stdenv.lib.optionalString stdenv.isDarwin '' sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' external/v8_3.30.33.16/build/gyp/pylib/gyp/xcode_emulation.py |