[Nix-dev] [PATCH] rtorrent: add xmlrpc-c

Petar Bogdanovic petar at smokva.net
Thu Aug 14 22:21:09 CEST 2014


Third party UIs require rtorrent to be compiled with xmlrpc-c.

---
 pkgs/tools/networking/p2p/rtorrent/default.nix | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pkgs/tools/networking/p2p/rtorrent/default.nix b/pkgs/tools/networking/p2p/rtorrent/default.nix
index b843228..64d5183 100644
--- a/pkgs/tools/networking/p2p/rtorrent/default.nix
+++ b/pkgs/tools/networking/p2p/rtorrent/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, libtorrent, ncurses, pkgconfig, libsigcxx, curl
-, zlib, openssl
+, zlib, openssl, xmlrpc_c
 }:
 
 stdenv.mkDerivation rec {
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
     sha256 = "113yrrac75vqi4g8r6bgs0ggjllj9bkg9shv08vqzdhkwqg2q2mw";
   };
 
-  buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
+  buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl xmlrpc_c ];
+  configureFlags = "--with-xmlrpc-c";
 
   # postInstall = ''
   #   mkdir -p $out/share/man/man1 $out/share/rtorrent
-- 
2.0.2



More information about the nix-dev mailing list