3
0
Fork 0
forked from mirrors/nixpkgs

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

nix-daemon service: Ensure `ssh` is on PATH. Fixes #46038.
This commit is contained in:
Silvan Mosberger 2018-10-11 21:51:37 +02:00 committed by GitHub
commit c81ca5491f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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