tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libnl: use patch from gentoo-musl, fixes! \o/
Will Dietz
8 years ago
54b3967e
08e70f7a
+7
-1
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
libnl
default.nix
+7
-1
pkgs/os-specific/linux/libnl/default.nix
···
1
1
-
{ stdenv, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }:
1
1
+
{ stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig }:
2
2
3
3
let version = "3.3.0"; in
4
4
stdenv.mkDerivation {
···
12
12
};
13
13
14
14
outputs = [ "bin" "dev" "out" "man" ];
15
15
+
16
16
+
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
17
17
+
(fetchpatch {
18
18
+
url = "https://raw.githubusercontent.com/gentoo/musl/48d2a28710ae40877fd3e178ead1fb1bb0baa62c/dev-libs/libnl/files/libnl-3.3.0_rc1-musl.patch";
19
19
+
sha256 = "0dd7xxikib201i99k2if066hh7gwf2i4ffckrjplq6lr206jn00r";
20
20
+
});
15
21
16
22
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
17
23