diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 32c8b991767890..8981d0a65a5a8e 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -3069,4 +3069,15 @@ self: super: { "--extra-include-dirs=${lib.getDev pkgs.opencascade-occt}/include/opencascade" ] super.opencascade-hs; + # https://github.com/haskell-grpc-native/http2-client/pull/96 + http2-client = overrideCabal (drv: { + patches = drv.patches or [ ] ++ [ + (pkgs.fetchpatch { + name = "http2-client-fix-build-with-http2-5.2.patch"; + url = "https://github.com/haskell-grpc-native/http2-client/commit/952a57d1138dc31863a5e387dbda67cbdfcfd9f4.patch"; + sha256 = "1q0n7338rjz7zl6xpw51lljp7xw1gl128s1d5877kfil3fc23npp"; + }) + ]; + }) super.http2-client; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super