about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/gnupg/gpgkey2ssh-20.patch
blob: 65804bac76425d847df585bb4a2cf502b62affed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tools/gpgkey2ssh.c b/tools/gpgkey2ssh.c
index 903fb5b..d5611dc 100644
--- a/tools/gpgkey2ssh.c
+++ b/tools/gpgkey2ssh.c
@@ -268,7 +268,7 @@ main (int argc, char **argv)
   keyid = argv[1];
 
   ret = asprintf (&command,
-		  "gpg --list-keys --with-colons --with-key-data '%s'",
+		  "@out@/bin/gpg --list-keys --with-colons --with-key-data '%s'",
 		  keyid);
   assert (ret > 0);