bitlbee: fixing test-suite for newer libcheck (#73752)

Fixes: #73747
This commit is contained in:
Dima 2019-11-19 20:44:03 +01:00 committed by Dmitry Kalinkin
parent dcdf4cec3a
commit 2d55135408

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, gnutls, glib, pkgconfig, check, libotr, python
{ fetchurl, fetchpatch, stdenv, gnutls, glib, pkgconfig, check, libotr, python
, enableLibPurple ? false, pidgin ? null
, enablePam ? false, pam ? null
}:
@ -25,6 +25,14 @@ stdenv.mkDerivation rec {
] ++ optional enableLibPurple "--purple=1"
++ optional enablePam "--pam=1";
patches = [
# This should be dropped once the issue is fixed upstream.
(fetchpatch {
url = "https://github.com/bitlbee/bitlbee/commit/6ff651b3ec93e5fd74f80766d5e9714d963137bc.diff";
sha256 = "144dpm4kq7c268fpww1q3n88ayg068n73fbabr5arh1zryw48qfv";
})
];
installTargets = [ "install" "install-dev" ];
doCheck = !enableLibPurple; # Checks fail with libpurple for some reason