Skip to content

Commit

Permalink
mongodb: remove patch to support i686
Browse files Browse the repository at this point in the history
It’s explicitly excluded from the platforms list.
  • Loading branch information
emilazy committed Oct 6, 2024
1 parent 7d8fcc7 commit fd4f8ce
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkgs/servers/nosql/mongodb/mongodb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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=[],'
Expand Down

0 comments on commit fd4f8ce

Please sign in to comment.