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