Merge pull request #290 from svanderburg/master

Fix problem with delegating builds to localhost due to nix-store not being in the PATH
This commit is contained in:
Eelco Dolstra 2016-04-06 16:21:07 +02:00
commit 68b636c1f2

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