Skip to content

Commit

Permalink
mongodb: fix darwin build
Browse files Browse the repository at this point in the history
(cherry picked from commit a387a0f)
  • Loading branch information
LnL7 committed Jan 22, 2018
1 parent 4ea23e7 commit b222a07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/servers/nosql/mongodb/default.nix
Expand Up @@ -105,6 +105,8 @@ in stdenv.mkDerivation rec {
-i src/mongo/db/dbwebserver.cpp
'';

NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isClang "-Wno-unused-command-line-argument";

buildPhase = ''
scons -j $NIX_BUILD_CORES core --release ${other-args}
'';
Expand Down

0 comments on commit b222a07

Please sign in to comment.