tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
numactl: fix use of deprecated macros, patch to fix w/musl
Will Dietz
8 years ago
ad09de4d
d8b15f8b
+11
-1
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
numactl
default.nix
+11
-1
pkgs/os-specific/linux/numactl/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, autoreconfHook }:
1
1
+
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "numactl-${version}";
···
12
12
};
13
13
14
14
nativeBuildInputs = [ autoreconfHook ];
15
15
+
16
16
+
patches = [
17
17
+
(fetchpatch {
18
18
+
url = https://raw.githubusercontent.com/gentoo/gentoo/b64d15e731e3d6a7671f0ec6c34a20203cf2609d/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch;
19
19
+
sha256 = "05277kv3x12n2xlh3fgnmxclxfc384mkwb0v9pd91046khj6h843";
20
20
+
})
21
21
+
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
22
22
+
url = https://git.alpinelinux.org/cgit/aports/plain/testing/numactl/musl.patch?id=0592b128c71c3e70d493bc7a13caed0d7fae91dd;
23
23
+
sha256 = "080b0sygmg7104qbbh1amh3b322yyiajwi2d3d0vayffgva0720v";
24
24
+
});
15
25
16
26
meta = with stdenv.lib; {
17
27
description = "Library and tools for non-uniform memory access (NUMA) machines";