Fix problem with delegating builds to localhost due to nix-store not being in the PATH

This commit is contained in:
Sander van der Burg 2016-04-06 14:16:04 +00:00
parent 74dfcc84e9
commit cbd2e3a50d

View file

@ -292,7 +292,7 @@ in
{ wantedBy = [ "multi-user.target" ];
requires = [ "hydra-init.service" ];
after = [ "hydra-init.service" "network.target" ];
path = [ cfg.package pkgs.nettools pkgs.ssmtp pkgs.openssh pkgs.bzip2 ];
path = [ cfg.package pkgs.nettools pkgs.ssmtp pkgs.openssh pkgs.bzip2 config.nix.package ];
environment = env // {
PGPASSFILE = "${baseDir}/pgpass-queue-runner"; # grrr
IN_SYSTEMD = "1"; # to get log severity levels