diff --git a/pkgs/applications/audio/zrythm/default.nix b/pkgs/applications/audio/zrythm/default.nix index 4817f63adf73..254e0e5b746d 100644 --- a/pkgs/applications/audio/zrythm/default.nix +++ b/pkgs/applications/audio/zrythm/default.nix @@ -2,6 +2,7 @@ , lib , fetchFromGitHub , fetchFromSourcehut +, fetchpatch , SDL2 , alsa-lib , appstream @@ -170,6 +171,15 @@ stdenv.mkDerivation rec { zstd ]; + patches = [ + # Fix gcc-13 build failure + (fetchpatch { + name = "gcc-13.patch"; + url = "https://gitlab.zrythm.org/zrythm/zrythm/-/commit/cbc2b3715b939718479631841f2d9703fb28e6da.diff"; + hash = "sha256-2ZTSaCtSO3yynJVFe5B1AEjWhjRa5YyA26ergAfdL5Y="; + }) + ]; + # Zrythm uses meson to build, but requires cmake for dependency detection. dontUseCmakeConfigure = true;