From de8c403f28104228aa8e67d5cc7f59b9dedaa65c Mon Sep 17 00:00:00 2001 From: Redlonghead Date: Thu, 6 Nov 2025 22:09:18 -0600 Subject: [PATCH] coreshot: fix building with qt 6.10 --- .../misc/cubocore-packages/coreshot/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/misc/cubocore-packages/coreshot/default.nix b/pkgs/applications/misc/cubocore-packages/coreshot/default.nix index 4531a57317ec..50a38084194e 100644 --- a/pkgs/applications/misc/cubocore-packages/coreshot/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreshot/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitLab, + fetchpatch, qt6, cmake, ninja, @@ -20,6 +21,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-5KGaMCL9BCGZwK7HQz87B1qrNvx5SQyMooZw4MwMdCc="; }; + patches = [ + (fetchpatch { + name = "fix-building-with-Qt-610"; + url = "https://gitlab.com/cubocore/coreapps/coreshot/-/commit/a01c943bec46eea261f545957dbafafc3ea370bb.patch"; + hash = "sha256-SD4bYM8nBnGPO8iS8htFZZFUdimbLmpqxgWPioLMjsM="; + }) + ]; + nativeBuildInputs = [ cmake ninja