about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorJan Solanti <jhs@psonet.com>2024-01-13 02:02:08 +0200
committerJan Solanti <jhs@psonet.com>2024-01-13 02:03:05 +0200
commit0a9221a0c771c24144f3b6d27792519e29c3166c (patch)
tree4b964f15e89fffe006db08897880268f2e60dcb0 /pkgs/applications/audio
parent5746f26d7a25a043943a178c0e259cde8f443661 (diff)
surge-xt: fix build with GCC 13
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/surge-XT/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/surge-XT/default.nix b/pkgs/applications/audio/surge-XT/default.nix
index 7c36c190128dc..ccd5ad12c0e87 100644
--- a/pkgs/applications/audio/surge-XT/default.nix
+++ b/pkgs/applications/audio/surge-XT/default.nix
@@ -71,6 +71,11 @@ stdenv.mkDerivation rec {
     "-DSURGE_JUCE_PATH=${juce-lv2}"
   ];
 
+  CXXFLAGS = [
+    # GCC 13: error: 'uint32_t' has not been declared
+    "-include cstdint"
+  ];
+
   # JUCE dlopen's these at runtime, crashes without them
   NIX_LDFLAGS = (toString [
     "-lX11"