From 83f46ec4d6a79ecddc55621e960c37d437db5e53 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Fri, 4 Dec 2015 16:17:22 +0000 Subject: [PATCH] rtorrent: build with fallocate support This doesn't actually turn it on unless you say system.file_allocate.set = yes in the rtorrent config. --- pkgs/tools/networking/p2p/rtorrent/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/p2p/rtorrent/default.nix b/pkgs/tools/networking/p2p/rtorrent/default.nix index d702e3b9700..ccb004ffb8c 100644 --- a/pkgs/tools/networking/p2p/rtorrent/default.nix +++ b/pkgs/tools/networking/p2p/rtorrent/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl xmlrpc_c ]; - configureFlags = "--with-xmlrpc-c"; + configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ]; # postInstall = '' # mkdir -p $out/share/man/man1 $out/share/rtorrent