Merge #179882: thrift: fix expired certs in tests

(cherry picked from commit 36888aa839)
This commit is contained in:
Vladimír Čunát
2022-07-02 11:05:56 +02:00
parent a87b236280
commit a95caee27f

View File

@@ -1,5 +1,6 @@
{ lib, stdenv, fetchurl, boost, zlib, libevent, openssl, python3, cmake, pkg-config
, bison, flex
, fetchpatch
, static ? stdenv.hostPlatform.isStatic
}:
@@ -26,6 +27,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 = [