procdump: enable parallel building

main
Sergei Trofimovich 2 years ago
parent 1c934c6d0b
commit f2428dfba3
  1. 14
      pkgs/os-specific/linux/procdump/default.nix

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, bash, coreutils, gdb, zlib }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, bash, coreutils, gdb, zlib }:
stdenv.mkDerivation rec {
pname = "procdump";
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-gVswAezHl7E2cBTJEQhPFXhHkzhWVHSpPF8m0s8+ekc=";
};
patches = [
# Pull upstream patch to fix parallel builds:
# https://github.com/Sysinternals/ProcDump-for-Linux/pull/133
(fetchpatch {
name = "parallel.patch";
url = "https://github.com/Sysinternals/ProcDump-for-Linux/commit/0d735836f11281cc6134be93eac8acb302f2055e.patch";
sha256 = "sha256-zsqllPHF8ZuXAIDSAPvbzdKa43uSSx9ilUKM1vFVW90=";
})
];
nativeBuildInputs = [ zlib ];
buildInputs = [ bash coreutils gdb ];
@ -27,6 +37,8 @@ stdenv.mkDerivation rec {
"MANDIR=/share/man/man1"
];
enableParallelBuilding = true;
doCheck = false; # needs sudo root
doInstallCheck = true;

Loading…
Cancel
Save