From 7c59bc5c457daffe8184c652043e22d208c8065c Mon Sep 17 00:00:00 2001 From: Jan Solanti Date: Tue, 9 Jan 2024 22:57:20 +0200 Subject: [PATCH] termcolor: fix build with GCC 13 --- pkgs/development/libraries/termcolor/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/termcolor/default.nix b/pkgs/development/libraries/termcolor/default.nix index fbae29f4ca58..f29776226dc2 100644 --- a/pkgs/development/libraries/termcolor/default.nix +++ b/pkgs/development/libraries/termcolor/default.nix @@ -18,6 +18,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; cmakeFlags = [ "-DTERMCOLOR_TESTS=ON" ]; + CXXFLAGS = [ + # GCC 13: error: 'uint8_t' has not been declared + "-include cstdint" + ]; doCheck = true;