diff --git a/pkgs/by-name/ka/karlyriceditor/package.nix b/pkgs/by-name/ka/karlyriceditor/package.nix index 84cfbc99a28e..10d39c569fe1 100644 --- a/pkgs/by-name/ka/karlyriceditor/package.nix +++ b/pkgs/by-name/ka/karlyriceditor/package.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitHub, + fetchpatch, qt6, ffmpeg_4, pkg-config, @@ -18,6 +19,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-eW5sO1gjuwIighnlylJQd9QC+07s1MZX/oPyaHIi/Qs="; }; + patches = [ + # fix build with Qt 6.10, remove after next release + # https://github.com/gyunaev/karlyriceditor/pull/38 + (fetchpatch { + url = "https://github.com/gyunaev/karlyriceditor/commit/1d5e095cc691d4239c919d78209bdd05e57ed2aa.patch"; + hash = "sha256-G93OfcQzgv8PhRQa8aUNsjaIt0GcGQxZGe4Eo0xP7TM="; + }) + ]; + nativeBuildInputs = [ qt6.wrapQtAppsHook qt6.qmake