1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

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" ];
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/man/man1 $out/share/doc/rtorrent
mv doc/old/rtorrent.1 $out/share/man/man1/rtorrent.1