In preparation for the deprecation of `stdenv.isX`.
These shorthands are not conducive to cross-compilation because they
hide the platforms.
Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way
One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059
There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.
```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
Some important fixes:
* bgpd: Fix route leaking from the default l3vrf
* isisd: Fix crash when deactivating ISIS adjacency on the interface
* ospfd: Fix crash in OSPF TE parsing
Full changelog: https://github.com/FRRouting/frr/releases/tag/frr-10.1
* Add zeromq as new dependency
* Remove datacenter option, which is now deprecated and enabeld by
default
Signed-off-by: Markus Theil <theil.markus@gmail.com>
Release notes:
https://github.com/FRRouting/frr/releases/tag/frr-10.0
Breaking changes relevant for NixOS:
- bgpd: Enable enforce-first-as by default for BGP -> may disable for RR
Some Notable changes:
- BGP RPKI VRF support
- Introduce local host routes
Notable fixes:
- Fix crash in OSPF TE parsing
Signed-off-by: Markus Theil <theil.markus@gmail.com>
protobufc is also needed as nativeBuildInput in order for
cross compilation to work. Tested for aarch64.
Signed-off-by: Markus Theil <theil.markus@gmail.com>
frr series 9 adds first and foremost:
- mgmtd: YANG-based daemon for frr configuration
- reduced memory footprint
See: https://frrouting.org/release/9.0/
Furthermore 9.0.1 contains important bug fixes, e.g. for
CVE-2023-38802.
See: https://frrouting.org/release/9.0.1/
Signed-off-by: Markus Theil <theil.markus@gmail.com>
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.