Merge pull request #48772 from hhomar/gnupg-tty-fix
gnupg: Fix, set current tty in interactive shell
Jörg Thalheim 7 years ago 4a38cfbe 890af817
··· 77 77 78 78 systemd.packages = [ pkgs.gnupg ]; 79 79 80 80 - environment.extraInit = '' 80 80 + environment.interactiveShellInit = '' 81 81 # Bind gpg-agent to this TTY if gpg commands are used. 82 82 export GPG_TTY=$(tty) 83 83