Permalink
Browse files

Merge pull request #46041 from nh2/issue-46038-nix-daemon-ssh-path

nix-daemon service: Ensure `ssh` is on PATH. Fixes #46038.
  • Loading branch information...
Infinisil committed Oct 11, 2018
2 parents c881a04 + 31919bc commit c81ca5491fc97bd76b4c1561b98a338dc71c933d
Showing with 2 additions and 2 deletions.
  1. +2 −2 nixos/modules/services/misc/nix-daemon.nix
@@ -399,8 +399,8 @@ in
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
systemd.services.nix-daemon =
{ path = [ nix pkgs.utillinux ]
++ optionals cfg.distributedBuilds [ config.programs.ssh.package pkgs.gzip ]
{ path = [ nix pkgs.utillinux config.programs.ssh.package ]
++ optionals cfg.distributedBuilds [ pkgs.gzip ]
++ optionals (!isNix20) [ pkgs.openssl.bin ];
environment = cfg.envVars

0 comments on commit c81ca54

Please sign in to comment.