rtorrent: enable paralell building

On 16-core machine build speeds up from 90s to 19s (~4.7x).
This commit is contained in:
Sergei Trofimovich 2021-10-20 09:10:32 +01:00
parent b5560cfc5e
commit 7a34492ea4

View File

@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ]; configureFlags = [ "--with-xmlrpc-c" "--with-posix-fallocate" ];
enableParallelBuilding = true;
postInstall = '' postInstall = ''
mkdir -p $out/share/man/man1 $out/share/doc/rtorrent mkdir -p $out/share/man/man1 $out/share/doc/rtorrent
mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1 mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1