make changes needed to build mongodb

This commit is contained in:
Jude Taylor
2015-07-23 15:47:16 -07:00
parent 748da7e541
commit 4fab7321bf
6 changed files with 41 additions and 1 deletions
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
else if stdenv.isDarwin then [ "--with-pcap=bpf" ]
else [];
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace configure --replace " -arch i386" ""
'';
preInstall = ''mkdir -p $out/bin'';
crossAttrs = {