Without the change build fails against `gcc-13` on `master` as
https://hydra.nixos.org/build/246569430:
In file included from /build/source/apps/m17-mod.cpp:3:
/build/source/include/m17cxx/Util.h:213:47: error: 'uint8_t' was not declared in this scope
213 | constexpr bool get_bit_index(const std::array<uint8_t, N>& input, size_t index)
| ^~~~~~~
/build/source/include/m17cxx/Util.h:12:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
11 | #include <limits>
+++ |+#include <cstdint>
12 |
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.
I manually audited the results and removed some results that were not valid.
Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.
Some observations:
- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
- gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
platforms that are not x86_64-linux