Skip to content

Commit 79fb36c

Browse files
authored
nixos/ssh: use correct executable for grep in ssh-askpass-wrapper (#373746)
2 parents f6ab930 + 33f6bda commit 79fb36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/programs/ssh.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let
1313

1414
askPasswordWrapper = pkgs.writeScript "ssh-askpass-wrapper" ''
1515
#! ${pkgs.runtimeShell} -e
16-
eval export $(systemctl --user show-environment | ${pkgs.coreutils}/bin/grep -E '^(DISPLAY|WAYLAND_DISPLAY|XAUTHORITY)=')
16+
eval export $(systemctl --user show-environment | ${lib.getExe pkgs.gnugrep} -E '^(DISPLAY|WAYLAND_DISPLAY|XAUTHORITY)=')
1717
exec ${cfg.askPassword} "$@"
1818
'';
1919

0 commit comments

Comments
 (0)