Commit b38f14f5 authored by Yureka's avatar Yureka
Browse files

iproute2: add patch for redefinition error musl

Fixes pkgsMusl.iproute2 after the update to 6.17.0
parent 543be3b1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 = ''