[staging-next] iproute2: add patch for redefinition error musl (#451338)

This commit is contained in:
Matthew Croughan
2025-10-12 21:42:32 +00:00
committed by GitHub
+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 = ''