git.iko.soy/typeable/nixpkgs
on master help sign in
nix-daemon service: Ensure `ssh` is on PATH. Fixes #46038.

This fixes a regression introduced in commit 700e21d6dac4683ef40f20127a6eb2a74b9bd8c6 nix needs ssh on path for the SSH substituter functionality, not only the distributed builds functionality. Signed-off-by: Niklas Hambüchen <mail@nh2.me>

commit31919bce6ba59e7fb117b34bd2b1f460ef208053 authorNiklas Hambüchen <mail@nh2.me> dateTue 4 Sep 2018, 14:22 (8 years ago) parent45ec853
1 file changed+2−2
nixos/modules/services/misc/nix-daemon.nix+2−2
nixos/modules/services/misc/nix-daemon.nix+2−2
@@ -400,8 +400,8 @@ in
400400 systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
401401
402402 systemd.services.nix-daemon =
403− { path = [ nix pkgs.utillinux ]
404− ++ optionals cfg.distributedBuilds [ config.programs.ssh.package pkgs.gzip ]
403+ { path = [ nix pkgs.utillinux config.programs.ssh.package ]
404+ ++ optionals cfg.distributedBuilds [ pkgs.gzip ]
405405 ++ optionals (!isNix20) [ pkgs.openssl.bin ];
406406
407407 environment = cfg.envVars