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
1
-
{ lib, stdenv, fetchFromGitHub, bash, coreutils, gdb, zlib }:
1
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
14
+
patches = [
15
15
+
# Pull upstream patch to fix parallel builds:
16
16
+
# https://github.com/Sysinternals/ProcDump-for-Linux/pull/133
17
17
+
(fetchpatch {
18
18
+
name = "parallel.patch";
19
19
+
url = "https://github.com/Sysinternals/ProcDump-for-Linux/commit/0d735836f11281cc6134be93eac8acb302f2055e.patch";
20
20
+
sha256 = "sha256-zsqllPHF8ZuXAIDSAPvbzdKa43uSSx9ilUKM1vFVW90=";
21
21
+
})
22
22
+
];
23
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
39
+
40
40
+
enableParallelBuilding = true;
29
41
30
42
doCheck = false; # needs sudo root
31
43