about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools')
-rw-r--r--nixpkgs/pkgs/tools/security/pinentry/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/pinentry/default.nix b/nixpkgs/pkgs/tools/security/pinentry/default.nix
index f34acafc9fe9..351a99a7cdc0 100644
--- a/nixpkgs/pkgs/tools/security/pinentry/default.nix
+++ b/nixpkgs/pkgs/tools/security/pinentry/default.nix
@@ -60,6 +60,13 @@ pinentryMkDerivation rec {
 
   patches = [
     ./autoconf-ar.patch
+
+    # Fix floating behaviour of Qt windows.
+    (fetchpatch {
+      url = "https://dev.gnupg.org/D549?download=true";
+      sha256 = "sha256-je1ee1LcNrDeQ04wMt33cQqucxhlb1B1SCtmnd8wYSU=";
+      extraPrefix = "";
+    })
   ] ++ optionals (elem "gtk2" enabledFlavors) [
     (fetchpatch {
       url = "https://salsa.debian.org/debian/pinentry/raw/debian/1.1.0-1/debian/patches/0007-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch";