about summary refs log tree commit diff
path: root/pkgs/tools/misc/flameshot
diff options
context:
space:
mode:
authorSebastian Sellmeier <mail@sebastian-sellmeier.de>2023-06-15 23:00:59 +0200
committerSebastian Sellmeier <mail@sebastian-sellmeier.de>2023-06-27 14:14:40 +0200
commitce6932ffba9f897727355e46d81b1d84de9fa331 (patch)
tree6a9cb067495c198c8acaa7e38c216a42c5c6cc68 /pkgs/tools/misc/flameshot
parent1c9db9710cb23d60570ad4d7ab829c2d34403de3 (diff)
flameshot: Include patch to fix wayland/sway scale-issue
Diffstat (limited to 'pkgs/tools/misc/flameshot')
-rw-r--r--pkgs/tools/misc/flameshot/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/misc/flameshot/default.nix b/pkgs/tools/misc/flameshot/default.nix
index 137b6cf998d61..0d5458bfe227e 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 { };
   };