frr: fix clippy build on aarch64-linux

This commit is contained in:
Martin Weinelt 2022-01-04 16:01:27 +01:00
parent 6008460c04
commit c57bb5bb4a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, python3Packages
# build time
@ -41,6 +42,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-hJcgLiPBxOE5QEh0RhtZhM3dOxFqW5H0TUjN+aP4qRk=";
};
patches = [
(fetchpatch {
# Fix clippy build on aarch64-linux
# https://github.com/FRRouting/frr/issues/10267
url = "https://github.com/FRRouting/frr/commit/3942ee1f7bc754dd0dd9ae79f89d0f2635be334f.patch";
sha256 = "1i0acfy5k9fbm9cxchrcvkhyw9704srq4wm2hyjqgdimm2dq7ryf";
})
];
nativeBuildInputs = [
autoreconfHook
bison