libnl: use patch from gentoo-musl, fixes! \o/

+7 -1
+7 -1
pkgs/os-specific/linux/libnl/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig }: 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 + 16 + patches = stdenv.lib.optional stdenv.hostPlatform.isMusl 17 + (fetchpatch { 18 + url = "https://raw.githubusercontent.com/gentoo/musl/48d2a28710ae40877fd3e178ead1fb1bb0baa62c/dev-libs/libnl/files/libnl-3.3.0_rc1-musl.patch"; 19 + sha256 = "0dd7xxikib201i99k2if066hh7gwf2i4ffckrjplq6lr206jn00r"; 20 + }); 15 21 16 22 nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ]; 17 23