Files
home-manager/tests/modules/services/ssh-agent/darwin/bash-integration.nix
Benedikt Rips 34578a2fdf ssh-agent: set $SSH_AUTH_SOCK in non-interactive shells
Since PR #8099, the module sets `$SSH_AUTH_SOCK` through shells' options
for interactive shell initialization instead of
`home.sessionVariablesExtra`. The replacement was not faithful, however,
since `home.sessionVariablesExtra` is sourced also in non-interactive
shells. With this commit, the shells' profile options (where
`home.sessionVariablesExtra` is sourced) are used to set
`$SSH_AUTH_SOCK`.

Fixes #8129.

(cherry picked from commit 89c9508bbe)
2025-12-29 10:00:57 -06:00

294 B