nixos/gnupg: void error messages when using nix remote builders

This commit is contained in:
Sandro Jäckel 2022-09-04 12:39:21 +02:00
parent f2ba552007
commit 0d44562788
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -135,7 +135,7 @@ in
# The SSH agent protocol doesn't have support for changing TTYs; however we
# can simulate this with the `exec` feature of openssh (see ssh_config(5))
# that hooks a command to the shell currently running the ssh program.
Match host * exec "${cfg.package}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null"
Match host * exec "${cfg.package}/bin/gpg-connect-agent --quiet updatestartuptty /bye >/dev/null 2>&1"
'';
environment.extraInit = mkIf cfg.agent.enableSSHSupport ''