diff --git a/pkgs/applications/audio/surge-XT/default.nix b/pkgs/applications/audio/surge-XT/default.nix index 7c36c190128d..ccd5ad12c0e8 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" diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index 2c8ecfd199e0..0060e8d4c7f4 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -94,6 +94,11 @@ in stdenv.mkDerivation rec { # Find FLTK without requiring an OpenGL library in buildInputs ++ lib.optional (guiModule == "fltk") "-DFLTK_SKIP_OPENGL=ON"; + CXXFLAGS = [ + # GCC 13: error: 'uint8_t' does not name a type + "-include cstdint" + ]; + doCheck = true; nativeCheckInputs = [ cxxtest ruby ];