mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
libbladeRF: fix build w/ glibc-2.44
Failing Hydra build: https://hydra.nixos.org/build/344162454
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user