Without the change build against gcc-13 fails as:
$ nix build --impure --expr 'with import ./. {}; nxpmicro-mfgtools.override { stdenv = gcc13Stdenv; }'
error: builder for '/nix/store/rx3ckzd1z975b3jnx24q53h8mc1a6y4v-nxpmicro-mfgtools-1.5.21.drv' failed with exit code 2;
last 10 log lines:
> | ^~~~~~~~
> /build/source/libuuu/libcomm.h:146:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
> /build/source/libuuu/libcomm.h:147:1: error: 'uint64_t' does not name a type
> 147 | uint64_t str_to_uint64(const string &str, bool * conversion_suceeded = nullptr);
> | ^~~~~~~~
> /build/source/libuuu/libcomm.h:147:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
Add nxpmicro-mfgtools to nixpkgs
From the project's homepage [1]:
Freescale/NXP I.MX Chip image deploy tools.
The project's only binary and library at the moment is UUU. NXP
might add more in the future, so making the package name:
nxpmicro-mfgtools
instead of:
nxp-uuu
or something similar.
[1]: https://github.com/NXPmicro/mfgtools