From cba7e7e0e2ce409f3636a18cb3b75a58d7bb4e87 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Tue, 25 Oct 2016 22:55:32 +0200 Subject: [PATCH] Allow hydra-eval-jobset to be found by the hydra-evaluator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this I got the following error in my journal: Oct 25 22:42:29 mymachine hydra-evaluator[4085]: starting evaluation of jobset ‘myproject:.jobsets’ Oct 25 22:42:29 mymachine hydra-evaluator[4085]: timeout: failed to run command ‘hydra-eval-jobset’: No such file or directory Oct 25 22:42:29 mymachine hydra-evaluator[4085]: evaluation of jobset ‘myproject:.jobsets’ finished with status 32512 --- hydra-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-module.nix b/hydra-module.nix index 916c9017..276cb2ae 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -341,7 +341,7 @@ in { wantedBy = [ "multi-user.target" ]; requires = [ "hydra-init.service" ]; after = [ "hydra-init.service" "network.target" ]; - path = [ pkgs.nettools ]; + path = [ pkgs.nettools cfg.package ]; environment = env; serviceConfig = { ExecStart = "@${cfg.package}/bin/hydra-evaluator hydra-evaluator";