thrift: fix expired certs in tests

https://hydra.nixos.org/build/181721465
This commit is contained in:
Vladimír Čunát 2022-07-02 11:00:42 +02:00
parent 5e2899a2c6
commit cd0c2b2374
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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 = [