mongodb: drem doesn't exist after 3.6

This commit is contained in:
Et7f3
2022-07-20 02:30:22 +02:00
parent eedcccd291
commit a0f42fb899
+1
View File
@@ -72,6 +72,7 @@ in stdenv.mkDerivation rec {
--replace "env = Environment(" "env = Environment(ENV = os.environ,"
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace src/third_party/mozjs-${variants.mozjsVersion}/extract/js/src/jsmath.cpp --replace '${variants.mozjsReplace}' 0
'' + lib.optionalString (stdenv.isDarwin && versionOlder version "3.6") ''
substituteInPlace src/third_party/s2/s1angle.cc --replace drem remainder
substituteInPlace src/third_party/s2/s1interval.cc --replace drem remainder
substituteInPlace src/third_party/s2/s2cap.cc --replace drem remainder