libbladeRF: fix build w/ glibc-2.44

Failing Hydra build: https://hydra.nixos.org/build/344162454
This commit is contained in:
Maximilian Bosch
2026-09-03 18:35:29 +02:00
parent 6d1f6ca228
commit 58dc9df41c

View File

@@ -12,6 +12,7 @@
libusb1,
curl,
udev,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -29,6 +30,12 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# fix clang build: https://github.com/Nuand/bladeRF/pull/1045
./clang-fix.patch
# fix build w/ glibc-2.44
(fetchpatch {
url = "https://github.com/Nuand/bladeRF/commit/87bdb1a4bbbc45b749bb90db504fe9cf8fe7a595.patch";
hash = "sha256-/sB18hwBSIqMkjaC7J0rb4STUrq4BWlJKnyy0Szac9c=";
})
];
nativeBuildInputs = [