From cd0c2b23749bc4084e7ff5f3643a581aa193f84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 2 Jul 2022 11:00:42 +0200 Subject: [PATCH] thrift: fix expired certs in tests https://hydra.nixos.org/build/181721465 --- pkgs/development/libraries/thrift/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix index f54288b5a3fa..cd127b4b0e71 100644 --- a/pkgs/development/libraries/thrift/default.nix +++ b/pkgs/development/libraries/thrift/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchurl +, fetchpatch , boost , zlib , libevent @@ -60,6 +61,11 @@ stdenv.mkDerivation rec { # ToStringTest.cpp is failing from some reason due to locale issue, this # doesn't disable all UnitTests as in Darwin. ./disable-failing-test.patch + (fetchpatch { + name = "tests-expired-certs.diff"; # https://github.com/apache/thrift/pull/2629 + url = "https://github.com/apache/thrift/commit/54765854873e19b8ba50a0ec8080dd92d8323851.diff"; + sha256 = "wnG2MjY0DtAhVcEdcxu77tDa4T9Xm2pMYZU2wXLx2OA="; + }) ]; cmakeFlags = [