From d5d543d26364a232e31747171d62119e09f8b187 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Thu, 8 Oct 2020 15:26:03 +0200 Subject: [PATCH] gnupg: put libexec tools (eg. gpg-preset-passphrase) in PATH --- pkgs/tools/security/gnupg/22.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/gnupg/22.nix b/pkgs/tools/security/gnupg/22.nix index 7c095cffa31..f7f35d659c4 100644 --- a/pkgs/tools/security/gnupg/22.nix +++ b/pkgs/tools/security/gnupg/22.nix @@ -69,6 +69,9 @@ stdenv.mkDerivation rec { # add gpg2 symlink to make sure git does not break when signing commits ln -s $out/bin/gpg $out/bin/gpg2 + + # Make libexec tools available in PATH + ln -s -t $out/bin $out/libexec/* ''; meta = with stdenv.lib; {