From 40045faf4a0000dfff781ce817deb7ec5069d48f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 15 Oct 2024 12:20:27 +0200 Subject: [PATCH] iproute2: fix build for musl Patch is upstream. Fixes: ee5127c6df7e ("iproute2: 6.10.0 -> 6.11.0") --- pkgs/os-specific/linux/iproute/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix index b0a3bab126b7..923a5cc8b309 100644 --- a/pkgs/os-specific/linux/iproute/default.nix +++ b/pkgs/os-specific/linux/iproute/default.nix @@ -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 = ''