Fix non-bc change
svn path=/nixos/trunk/; revision=21326
This commit is contained in:
parent
69697a35bb
commit
ce15e270f2
@ -43,7 +43,7 @@ let
|
|||||||
${optionalString cfg.startGnuPGAgent ''
|
${optionalString cfg.startGnuPGAgent ''
|
||||||
if test -z "$SSH_AUTH_SOCK"; then
|
if test -z "$SSH_AUTH_SOCK"; then
|
||||||
# Restart this script as a child of the GnuPG agent.
|
# Restart this script as a child of the GnuPG agent.
|
||||||
exec "${pkgs.gnupg2}/bin/gpg-agent" \
|
exec "${if pkgs ? gnupg2 then pkgs.gnupg2 else pkgs.gnupg}/bin/gpg-agent" \
|
||||||
--enable-ssh-support --daemon \
|
--enable-ssh-support --daemon \
|
||||||
--pinentry-program "${pkgs.pinentry}/bin/pinentry-gtk-2" \
|
--pinentry-program "${pkgs.pinentry}/bin/pinentry-gtk-2" \
|
||||||
--write-env-file "$HOME/.gpg-agent-info" \
|
--write-env-file "$HOME/.gpg-agent-info" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user