diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-10-20 09:10:32 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2021-10-20 09:14:19 +0100 |
commit | 7a34492ea451b8133262d134cc87f79402d11fef (patch) | |
tree | 8dda3fce02f7893e2ab8401c36369cc4a60f974f /pkgs/tools/networking/p2p | |
parent | b5560cfc5ec29f2921080ab8f62a5eda18480a03 (diff) |
rtorrent: enable paralell building
On 16-core machine build speeds up from 90s to 19s (~4.7x).
Diffstat (limited to 'pkgs/tools/networking/p2p')
-rw-r--r-- | pkgs/tools/networking/p2p/rtorrent/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/p2p/rtorrent/default.nix b/pkgs/tools/networking/p2p/rtorrent/default.nix index 20f9cec6f5fe9..ead7d9f79fb52 100644 --- a/pkgs/tools/networking/p2p/rtorrent/default.nix +++ b/pkgs/tools/networking/p2p/rtorrent/default.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ]; + enableParallelBuilding = true; + postInstall = '' mkdir -p $out/share/man/man1 $out/share/doc/rtorrent mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1 |