diff --git a/pkgs/applications/kde/picmi.nix b/pkgs/applications/kde/picmi.nix index 4358eb5ffac5..205f1bd5d12f 100644 --- a/pkgs/applications/kde/picmi.nix +++ b/pkgs/applications/kde/picmi.nix @@ -1,4 +1,4 @@ -{ mkDerivation, lib +{ mkDerivation, lib, fetchpatch , libkdegames, extra-cmake-modules , kdeclarative, knewstuff }: @@ -15,6 +15,17 @@ mkDerivation { license = licenses.gpl2Plus; platforms = platforms.linux; }; + + patches = [ + # fix compile error due to usage of deprecated things + # probably can be removed with the next kde bump + (fetchpatch { + url = "https://invent.kde.org/games/picmi/-/commit/99639fb499fe35eb463621efca1c0e4ff2a52bad.patch"; + revert = true; + sha256 = "sha256-rRhTvUB1Hpc3bLv9b5yIf/G7uJy2/OgBfXToZwV4jrg="; + }) + ]; + nativeBuildInputs = [ extra-cmake-modules ];