diff --git a/pkgs/applications/networking/instant-messengers/silc-client/default.nix b/pkgs/applications/networking/instant-messengers/silc-client/default.nix index 247c1dd6a2c5..a4035604168f 100644 --- a/pkgs/applications/networking/instant-messengers/silc-client/default.nix +++ b/pkgs/applications/networking/instant-messengers/silc-client/default.nix @@ -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" '';