mongodb: fix darwin build

This commit is contained in:
Daiderd Jordan 2017-11-01 14:13:34 +01:00
parent 107a11f573
commit a387a0f171
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -81,6 +81,8 @@ in stdenv.mkDerivation rec {
--replace 'engine("wiredTiger")' 'engine("mmapv1")'
'';
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isClang "-Wno-unused-command-line-argument";
buildPhase = ''
scons -j $NIX_BUILD_CORES core --release ${other-args}
'';