tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
procdump: enable parallel building
Sergei Trofimovich
4 years ago
f2428dfb
1c934c6d
+13
-1
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
procdump
default.nix
+13
-1
pkgs/os-specific/linux/procdump/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, bash, coreutils, gdb, zlib }:
2
3
stdenv.mkDerivation rec {
4
pname = "procdump";
···
11
sha256 = "sha256-gVswAezHl7E2cBTJEQhPFXhHkzhWVHSpPF8m0s8+ekc=";
12
};
13
0
0
0
0
0
0
0
0
0
0
14
nativeBuildInputs = [ zlib ];
15
buildInputs = [ bash coreutils gdb ];
16
···
26
"INSTALLDIR=/bin"
27
"MANDIR=/share/man/man1"
28
];
0
0
29
30
doCheck = false; # needs sudo root
31
···
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch, bash, coreutils, gdb, zlib }:
2
3
stdenv.mkDerivation rec {
4
pname = "procdump";
···
11
sha256 = "sha256-gVswAezHl7E2cBTJEQhPFXhHkzhWVHSpPF8m0s8+ekc=";
12
};
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
+
24
nativeBuildInputs = [ zlib ];
25
buildInputs = [ bash coreutils gdb ];
26
···
36
"INSTALLDIR=/bin"
37
"MANDIR=/share/man/man1"
38
];
39
+
40
+
enableParallelBuilding = true;
41
42
doCheck = false; # needs sudo root
43