iproute2: add patch for redefinition error musl

Fixes pkgsMusl.iproute2 after the update to 6.17.0
This commit is contained in:
Yureka
2025-10-12 22:37:16 +02:00
parent 543be3b14a
commit b38f14f58b
+9
View File
@@ -36,6 +36,15 @@ stdenv.mkDerivation rec {
url = "https://lore.kernel.org/netdev/20240804161054.942439-1-dilfridge@gentoo.org/raw";
hash = "sha256-47obv6mIn/HO47lt47slpTAFDxiQ3U/voHKzIiIGCTM=";
})
]
# Temporarily gated to keep rebuild counts under control.
# The proper fix (targeted to staging) is done in https://github.com/NixOS/nixpkgs/pull/451397
++ lib.optionals stdenv.hostPlatform.isMusl [
(fetchurl {
name = "musl-redefinition.patch";
url = "https://lore.kernel.org/netdev/20251012124002.296018-1-yureka@cyberchaos.dev/raw";
hash = "sha256-8gSpZb/B5sMd2OilUQqg0FqM9y3GZd5Ch5AXV5wrCZQ=";
})
];
postPatch = ''