From dffd4b36a2a8c0f86b67a23bd0069ba4fa25996b Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 10 Oct 2024 19:46:16 +0300 Subject: [PATCH] digikam: fix build with Qt 6.8 --- pkgs/by-name/di/digikam/package.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/di/digikam/package.nix b/pkgs/by-name/di/digikam/package.nix index dabd19fc9a5c..39a61d7e0eb5 100644 --- a/pkgs/by-name/di/digikam/package.nix +++ b/pkgs/by-name/di/digikam/package.nix @@ -4,6 +4,7 @@ lib, fetchFromGitLab, fetchgit, + fetchpatch, cmake, ninja, @@ -71,7 +72,16 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-GJYlxJkvFEXppVk0yC9ojszylfAGt3eBMAjNUu60XDY="; }; - patches = [ ./disable-tests-download.patch ]; + patches = [ + ./disable-tests-download.patch + + # Fix build with Qt 6.8 + # FIXME: remove in next update + (fetchpatch { + url = "https://invent.kde.org/graphics/digikam/-/commit/a8b49ed8df676cae0f48b3369831edde2b74903e.patch"; + hash = "sha256-93kQ/Dg/A9FR83ChyiUaRwyelE1Iq14eIecUteVbnqI="; + }) + ]; strictDeps = true;