forked from mirrors/nixpkgs
programs.gnupg: use extraInit instead of interactiveShellInit
Otherwise some programmes cannot use the GPG agent, e.g. applications started from dmenu. Behaviour was changed in #26888, this reverts that part.
This commit is contained in:
parent
b4ee24d5b1
commit
b8d92a7840
|
@ -77,7 +77,7 @@ in
|
|||
|
||||
systemd.packages = [ pkgs.gnupg ];
|
||||
|
||||
environment.interactiveShellInit = ''
|
||||
environment.extraInit = ''
|
||||
# Bind gpg-agent to this TTY if gpg commands are used.
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
|
|
Loading…
Reference in a new issue