about summary refs log tree commit diff
path: root/pkgs/applications/editors/scite/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-01-11 17:14:00 +0100
committerVladimír Čunát <v@cunat.cz>2024-01-11 17:14:00 +0100
commit98639164fb2e36f4cd9e85a0e2d198a23cf182f4 (patch)
tree6b00ea3ae7c0831d7f8c4526ff099f242de412ad /pkgs/applications/editors/scite/default.nix
parent8b2d354abeab5db9a2509fd4f8fb08b798303247 (diff)
scite: fixup build with gcc13
Diffstat (limited to 'pkgs/applications/editors/scite/default.nix')
-rw-r--r--pkgs/applications/editors/scite/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix
index 67ebd13134b2f..9c230a2984eb9 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