3
0
Fork 0
forked from mirrors/nixpkgs

silc-client: the irssi plugin segfaults on join, with current irssi.

I fix and make it build the standalone client.
This commit is contained in:
Lluís Batlle i Rossell 2013-04-13 00:24:25 +02:00
parent 0b4e664a24
commit 7b6a4238b1

View file

@ -1,5 +1,8 @@
{ stdenv, fetchurl, perl, pkgconfig, glib, ncurses
, enablePlugin ? true }:
, enablePlugin ? false }:
# Enabling the plugin and using it with a recent irssi, segafults on join:
# http://marc.info/?l=silc-devel&m=125610477802211
let
basename = "silc-client-1.1.8";
@ -16,6 +19,8 @@ stdenv.mkDerivation {
patches = [ ./server_setup.patch ];
configureFlags = "--with-ncurses=${ncurses}";
preConfigure = stdenv.lib.optionalString enablePlugin ''
configureFlags="$configureFlags --with-silc-plugin=$out/lib/irssi"
'';