diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-06-24 13:08:05 -0300 |
---|---|---|
committer | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-06-24 13:09:00 -0300 |
commit | ed0e7ad72ef9c88fc738f2d1a5e8cd2099970620 (patch) | |
tree | b8a4ba30d8c465e348103b4d8d689ee00ffa22d4 /pkgs | |
parent | eaebf07d5c5eaacaf8cff8a819fc3a6fcc962c97 (diff) |
mongodb-4_2: fixed
Co-authored-by: @bryanasdev000
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/nosql/mongodb/v4_2.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/servers/nosql/mongodb/v4_2.nix b/pkgs/servers/nosql/mongodb/v4_2.nix index 3759cc1e6d585..53b73b510e3ad 100644 --- a/pkgs/servers/nosql/mongodb/v4_2.nix +++ b/pkgs/servers/nosql/mongodb/v4_2.nix @@ -1,4 +1,4 @@ -{ stdenv, callPackage, lib, sasl, boost, Security, CoreFoundation, cctools }: +{ stdenv, callPackage, fetchpatch, lib, sasl, boost, Security, CoreFoundation, cctools }: let buildMongoDB = callPackage ./mongodb.nix { @@ -11,7 +11,12 @@ let in buildMongoDB { version = "4.2.19"; sha256 = "sha256-fngTHd+fSdHqiqQYOYS7o6P5eHybeZy3iNKkGzFmjTw="; - patches = - [ ./forget-build-dependencies-4-2.patch ] - ++ lib.optionals stdenv.isDarwin [ ./asio-no-experimental-string-view-4-2.patch ]; + patches = [ + ./forget-build-dependencies-4-2.patch + (fetchpatch { + name = "mongodb-4.4.1-gcc11.patch"; + url = "https://raw.githubusercontent.com/gentoo/gentoo/7168257cad6ea7c4856b01c5703d0ed5b764367c/dev-db/mongodb/files/mongodb-4.4.1-gcc11.patch"; + sha256 = "sha256-RvfCP462RG+ZVjcb23DgCuxCdfPl2/UgH8N7FgCghGI="; + }) + ] ++ lib.optionals stdenv.isDarwin [ ./asio-no-experimental-string-view-4-2.patch ]; } |