xdp-tools: backport musl fix (#519318)

This commit is contained in:
Alyssa Ross
2026-05-12 12:59:33 +00:00
committed by GitHub
+9
View File
@@ -3,6 +3,7 @@
stdenv,
buildPackages,
fetchFromGitHub,
fetchpatch,
libbpf,
elfutils,
zlib,
@@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-wLSLDgACl6a6gQLvRiRR9HQFRMrGWYZAa5CcdzECExE=";
};
patches = [
(fetchpatch {
name = "musl.patch";
url = "https://github.com/xdp-project/xdp-tools/commit/2ff228be7926ba01e13c8d328828a270af2e7e0d.patch";
hash = "sha256-jYdcC36nL4P4IadwGfva8nqMerd/2HHw2RYhc+wR9nk=";
})
];
outputs = [
"out"
"lib"