mongodb: remove patch to support i686

It’s explicitly excluded from the platforms list.
This commit is contained in:
Emily 2024-10-01 01:33:09 +01:00
parent 7d8fcc7420
commit fd4f8ce9fc

View File

@ -110,11 +110,6 @@ in stdenv.mkDerivation rec {
#include <string>'
substituteInPlace src/mongo/db/exec/plan_stats.h --replace '#include <string>' '#include <optional>
#include <string>'
'' + lib.optionalString stdenv.hostPlatform.isi686 ''
# don't fail by default on i686
substituteInPlace src/mongo/db/storage/storage_options.h \
--replace 'engine("wiredTiger")' 'engine("mmapv1")'
'' + lib.optionalString (!avxSupport) ''
substituteInPlace SConstruct \
--replace-fail "default=['+sandybridge']," 'default=[],'