nix-daemon service: Ensure `ssh` is on PATH. Fixes #46038.
This fixes a regression introduced in commit
700e21d6da
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>
This commit is contained in:
parent
45ec8534b1
commit
31919bce6b
|
@ -400,8 +400,8 @@ in
|
||||||
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
|
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
|
||||||
|
|
||||||
systemd.services.nix-daemon =
|
systemd.services.nix-daemon =
|
||||||
{ path = [ nix pkgs.utillinux ]
|
{ path = [ nix pkgs.utillinux config.programs.ssh.package ]
|
||||||
++ optionals cfg.distributedBuilds [ config.programs.ssh.package pkgs.gzip ]
|
++ optionals cfg.distributedBuilds [ pkgs.gzip ]
|
||||||
++ optionals (!isNix20) [ pkgs.openssl.bin ];
|
++ optionals (!isNix20) [ pkgs.openssl.bin ];
|
||||||
|
|
||||||
environment = cfg.envVars
|
environment = cfg.envVars
|
||||||
|
|
Loading…
Reference in New Issue