From 058334f5bcdfebd4c6d55e475067f7962c7a0cc7 Mon Sep 17 00:00:00 2001 From: Qubic <77882752+AwesomeQubic@users.noreply.github.com> Date: Tue, 25 Nov 2025 18:59:50 +0100 Subject: [PATCH] drawpile: fix build --- pkgs/by-name/dr/drawpile/package.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/by-name/dr/drawpile/package.nix b/pkgs/by-name/dr/drawpile/package.nix index 308714b953a8..d31a9ffc1626 100644 --- a/pkgs/by-name/dr/drawpile/package.nix +++ b/pkgs/by-name/dr/drawpile/package.nix @@ -6,6 +6,7 @@ extra-cmake-modules, rustc, rustPlatform, + fetchpatch, # common deps libzip, @@ -78,6 +79,16 @@ stdenv.mkDerivation rec { hash = "sha256-u9fRbxKeQSou9Umw4EaqzzzDiN4zhyfx9sWnlZpfpxU="; }; + patches = [ + # Remove for 2.3.1 + # QT updated and broke some functionality so we have to get the commit that fixes it from upstream + (fetchpatch { + name = "qt-6.10.1.patch"; + url = "https://github.com/drawpile/Drawpile/commit/c4f69f79b1cb0d25e68b49e807ce6773ddb9dd3c.patch"; + hash = "sha256-Z8mcPux8tvK5y1GirfKq1X9+kxHDIrnSLTd2MCSIxTg="; + }) + ]; + nativeBuildInputs = [ cargo extra-cmake-modules