forked from mirrors/nixpkgs
mongodb: fix darwin build
This commit is contained in:
parent
107a11f573
commit
a387a0f171
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue