diff options
| author | Max Audron <audron@cocaine.farm> | 2025-02-21 17:48:33 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-02-21 17:48:33 +0100 |
| commit | 1f19f2b90677d8e0174a9aa430b062db2b011a0a (patch) | |
| tree | ee605a9faf68adc7e0296145bd16629485213db1 /modules/tlmp/rtorrent.nix | |
| parent | reanable pastor (diff) | |
rtorrent: use xmlrpc-c for compat with *arr
Diffstat (limited to '')
| -rw-r--r-- | modules/tlmp/rtorrent.nix | 11 |
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"; |
