aboutsummaryrefslogtreecommitdiff
path: root/modules/tlmp/rtorrent.nix
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-02-21 17:48:33 +0100
committerMax Audron <audron@cocaine.farm>2025-02-21 17:48:33 +0100
commit1f19f2b90677d8e0174a9aa430b062db2b011a0a (patch)
treeee605a9faf68adc7e0296145bd16629485213db1 /modules/tlmp/rtorrent.nix
parentreanable pastor (diff)
rtorrent: use xmlrpc-c for compat with *arr
Diffstat (limited to '')
-rw-r--r--modules/tlmp/rtorrent.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/tlmp/rtorrent.nix b/modules/tlmp/rtorrent.nix
index c374122..c85d8ce 100644
--- a/modules/tlmp/rtorrent.nix
+++ b/modules/tlmp/rtorrent.nix
@@ -71,7 +71,16 @@
services.rtorrent = {
enable = true;
- package = pkgs.unstable.rtorrent;
+ package = pkgs.unstable.rtorrent.overrideAttrs (prev: {
+ configureFlags = [
+ "--with-xmlrpc-c"
+ "--with-posix-fallocate"
+ ];
+
+ buildInputs = prev.buildInputs ++ [
+ pkgs.xmlrpc_c
+ ];
+ });
# dataDir = "/mnt/media/download";
user = "media";
group = "media";