From 5355ab63b9ac6de0b74d124ed2e396dd3e2ab8b5 Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Sat, 12 Oct 2013 18:53:59 +0200 Subject: Fixes for torprpl, until making it work. --- .../instant-messengers/pidgin-plugins/tox-prpl/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix index 56920d04e1e8..b87db662f45e 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libtoxcore, pidgin, autoconf, automake, libtool } : +{ stdenv, fetchurl, libtoxcore, pidgin, autoconf, automake, libtool, libsodium } : let version = "17a3fd9199"; @@ -13,9 +13,13 @@ stdenv.mkDerivation rec { sha256 = "0sz5wkyfwmhaj652xpsxq4p252cmmfa1vy6mp3jfyn145c758v9n"; }; + NIX_LDFLAGS = "-lssp -lsodium"; + preConfigure = "autoreconf -vfi"; - buildInputs = [ libtoxcore pidgin autoconf automake libtool]; + postInstall = "mv $out/lib/purple-2 $out/lib/pidgin"; + + buildInputs = [ libtoxcore pidgin autoconf automake libtool libsodium ]; meta = { homepage = http://tox.dhs.org/; -- cgit 1.4.1