about summary refs log tree commit diff
path: root/pkgs/tools/misc/flameshot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/flameshot/default.nix')
-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 { };
   };