From 98639164fb2e36f4cd9e85a0e2d198a23cf182f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 11 Jan 2024 17:14:00 +0100 Subject: [PATCH] scite: fixup build with gcc13 --- pkgs/applications/editors/scite/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix index 67ebd13134b2..9c230a2984eb 100644 --- a/pkgs/applications/editors/scite/default.nix +++ b/pkgs/applications/editors/scite/default.nix @@ -13,6 +13,12 @@ stdenv.mkDerivation { buildInputs = [ gtk2 ]; sourceRoot = "scintilla/gtk"; + CXXFLAGS = [ + # GCC 13: error: 'intptr_t' does not name a type + "-include cstdint" + "-include system_error" + ]; + buildPhase = '' make cd ../../lexilla/src