mailsend: fix parallel build failures

Without the change parallel build fails as:

> install flags: -j16 install
> install -c -m 644 doc/mailsend.1.gz $out/share/man/man1
> install: cannot create regular file '$out/share/man/man1': No such file or directory

+16 -1
+16 -1
pkgs/tools/networking/mailsend/default.nix
··· 1 - { lib, stdenv, fetchurl, openssl }: 2 3 stdenv.mkDerivation rec { 4 pname = "mailsend"; ··· 21 url = "https://github.com/muquit/mailsend/commit/960df6d7a11eef90128dc2ae660866b27f0e4336.patch"; 22 sha256 = "0vz373zcfl19inflybfjwshcq06rvhx0i5g0f4b021cxfhyb1sm0"; 23 }) 24 ]; 25 meta = with lib; { 26 description = "CLI email sending tool"; 27 license = licenses.bsd3;
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchpatch 5 + , openssl 6 + }: 7 8 stdenv.mkDerivation rec { 9 pname = "mailsend"; ··· 26 url = "https://github.com/muquit/mailsend/commit/960df6d7a11eef90128dc2ae660866b27f0e4336.patch"; 27 sha256 = "0vz373zcfl19inflybfjwshcq06rvhx0i5g0f4b021cxfhyb1sm0"; 28 }) 29 + # Pull fix pending upstream inclusion for parallel build failures: 30 + # https://github.com/muquit/mailsend/pull/165 31 + (fetchpatch { 32 + name = "parallel-install.patch"; 33 + url = "https://github.com/muquit/mailsend/commit/acd4ebedbce0e4af3c7b6632f905f73e642ca38c.patch"; 34 + hash = "sha256-p8tNnkU6cMopuP63kVtRbD9aenhzL1EAXlvvFh4fucE="; 35 + }) 36 ]; 37 + 38 + enableParallelBuilding = true; 39 + 40 meta = with lib; { 41 description = "CLI email sending tool"; 42 license = licenses.bsd3;