iproute2: fix build for musl (#348754)

This commit is contained in:
Martin Weinelt
2024-10-15 17:55:28 +02:00
committed by GitHub
+6 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl
{ lib, stdenv, fetchurl, fetchpatch
, buildPackages, bison, flex, pkg-config
, db, iptables, elfutils, libmnl ,libbpf
, gitUpdater, pkgsStatic
@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
url = "https://lore.kernel.org/netdev/20240804161054.942439-1-dilfridge@gentoo.org/raw";
hash = "sha256-47obv6mIn/HO47lt47slpTAFDxiQ3U/voHKzIiIGCTM=";
})
(fetchpatch {
name = "musl-mst.patch";
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/patch/?id=6a77abab92516e65f07f8657fc4e384c4541ce0e";
hash = "sha256-19FzTDvgnmqVFBykVgXl4VIsHs8Cy9NWGOLpxifxVlI=";
})
];
postPatch = ''