procdump: enable parallel building

+13 -1
+13 -1
pkgs/os-specific/linux/procdump/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, bash, coreutils, gdb, zlib }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, bash, coreutils, gdb, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "procdump"; ··· 11 11 sha256 = "sha256-gVswAezHl7E2cBTJEQhPFXhHkzhWVHSpPF8m0s8+ekc="; 12 12 }; 13 13 14 + patches = [ 15 + # Pull upstream patch to fix parallel builds: 16 + # https://github.com/Sysinternals/ProcDump-for-Linux/pull/133 17 + (fetchpatch { 18 + name = "parallel.patch"; 19 + url = "https://github.com/Sysinternals/ProcDump-for-Linux/commit/0d735836f11281cc6134be93eac8acb302f2055e.patch"; 20 + sha256 = "sha256-zsqllPHF8ZuXAIDSAPvbzdKa43uSSx9ilUKM1vFVW90="; 21 + }) 22 + ]; 23 + 14 24 nativeBuildInputs = [ zlib ]; 15 25 buildInputs = [ bash coreutils gdb ]; 16 26 ··· 26 36 "INSTALLDIR=/bin" 27 37 "MANDIR=/share/man/man1" 28 38 ]; 39 + 40 + enableParallelBuilding = true; 29 41 30 42 doCheck = false; # needs sudo root 31 43