Merge pull request #48772 from hhomar/gnupg-tty-fix

gnupg: Fix, set current tty in interactive shell
This commit is contained in:
Jörg Thalheim 2018-11-21 01:55:16 +00:00 committed by GitHub
commit 4a38cfbeb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ in
systemd.packages = [ pkgs.gnupg ]; systemd.packages = [ pkgs.gnupg ];
environment.extraInit = '' environment.interactiveShellInit = ''
# Bind gpg-agent to this TTY if gpg commands are used. # Bind gpg-agent to this TTY if gpg commands are used.
export GPG_TTY=$(tty) export GPG_TTY=$(tty)