Merge pull request #259174 from thillux/frr-cross

frr: fix cross compilation
This commit is contained in:
Robert Scott 2023-10-07 00:40:38 +01:00 committed by GitHub
commit 1f3ed6855d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,7 @@ stdenv.mkDerivation rec {
pkg-config
python3.pkgs.sphinx
texinfo
protobufc
];
buildInputs = [
@ -227,7 +228,8 @@ stdenv.mkDerivation rec {
'';
license = with licenses; [ gpl2Plus lgpl21Plus ];
maintainers = with maintainers; [ woffs thillux ];
platforms = platforms.unix;
# adapt to platforms stated in http://docs.frrouting.org/en/latest/overview.html#supported-platforms
platforms = (platforms.linux ++ platforms.freebsd ++ platforms.netbsd ++ platforms.openbsd);
};
passthru.tests = { inherit (nixosTests) frr; };