From 52114b92d2d685adf9fe7629ee7890d3339696dd Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Mon, 8 Jan 2024 13:46:51 -0800 Subject: [PATCH] barrier: fix 'uint8_t' is not a member of 'std' --- pkgs/applications/misc/barrier/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/barrier/default.nix b/pkgs/applications/misc/barrier/default.nix index f068667948c2..d02712848b72 100644 --- a/pkgs/applications/misc/barrier/default.nix +++ b/pkgs/applications/misc/barrier/default.nix @@ -26,6 +26,11 @@ mkDerivation rec { }) ]; + CXXFLAGS = [ + # error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? + "-include cstdint" + ]; + buildInputs = [ curl xorg.libX11 xorg.libXext xorg.libXtst avahiWithLibdnssdCompat qtbase ]; nativeBuildInputs = [ cmake wrapGAppsHook ];