make changes needed to build mongodb
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user