From ce6932ffba9f897727355e46d81b1d84de9fa331 Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Thu, 15 Jun 2023 23:00:59 +0200 Subject: flameshot: Include patch to fix wayland/sway scale-issue --- pkgs/tools/misc/flameshot/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/tools/misc/flameshot/default.nix b/pkgs/tools/misc/flameshot/default.nix index 137b6cf998d..0d5458bfe22 100644 --- a/pkgs/tools/misc/flameshot/default.nix +++ b/pkgs/tools/misc/flameshot/default.nix @@ -6,6 +6,7 @@ , qttools , qtsvg , nix-update-script +, fetchpatch }: mkDerivation rec { @@ -19,6 +20,15 @@ mkDerivation rec { sha256 = "sha256-omyMN8d+g1uYsEw41KmpJCwOmVWLokEfbW19vIvG79w="; }; + patches = [ + # https://github.com/flameshot-org/flameshot/pull/3166 + (fetchpatch { + name = "10-fix-wayland.patch"; + url = "https://github.com/flameshot-org/flameshot/commit/5fea9144501f7024344d6f29c480b000b2dcd5a6.patch"; + sha256 = "sha256-SnjVbFMDKD070vR4vGYrwLw6scZAFaQA4b+MbI+0W9E="; + }) + ]; + passthru = { updateScript = nix-update-script { }; }; -- cgit 1.4.1