dhcp: enable parallel building

The spedup on my machine is from 62 seconds down to 48 seconds.

+10
+10
pkgs/tools/networking/dhcp/default.nix
··· 24 24 url = "https://gitlab.isc.org/isc-projects/dhcp/-/commit/6c7e61578b1b449272dbb40dd8b98d03dad8a57a.patch"; 25 25 sha256 = "1g37ix0yf9zza8ri8bg438ygcjviniblfyb20y4gzc8lysy28m8b"; 26 26 }) 27 + 28 + # Fix parallel build failure, the patch is pending upstream inclusion: 29 + # https://gitlab.isc.org/isc-projects/dhcp/-/merge_requests/76 30 + (fetchpatch { 31 + name = "parallel-make.patch"; 32 + url = "https://gitlab.isc.org/isc-projects/dhcp/-/commit/46d101b97c5a3b19a3f63f7b60e5f88994a64e22.patch"; 33 + sha256 = "1y3nsmqjzcg4bhp1xmqp47v7rkl3bpcildkx6mlrg255yvxapmdp"; 34 + }) 27 35 ]; 28 36 29 37 nativeBuildInputs = [ perl makeWrapper ]; ··· 78 86 79 87 export AR='${stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar' 80 88 ''; 89 + 90 + enableParallelBuilding = true; 81 91 82 92 meta = with lib; { 83 93 description = "Dynamic Host Configuration Protocol (DHCP) tools";