From 54f7a41edd9e6e29dc79abb7dc1778753d527414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 18 Dec 2021 04:36:13 +0100 Subject: [PATCH] plasma5Packages.picmi: fix compile --- pkgs/applications/kde/picmi.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 ];