parent
dcdf4cec3a
commit
2d55135408
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue