From 31692206e0798a75733bae95a4a4008d2b6f464e Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Wed, 4 Jan 2017 14:26:05 +0100 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20hydra=20+=20retour=20au=20p?= =?UTF-8?q?aquet=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/service-hydra-core.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/service-hydra-core.nix b/public/service-hydra-core.nix index fafaa7a..1d84b6f 100644 --- a/public/service-hydra-core.nix +++ b/public/service-hydra-core.nix @@ -17,6 +17,8 @@ let sha256 = "0nimqsbpjxfwha6d5gp6a7jh50i83z1llmx30da4bscsic8z1xly"; }; + hydra-src-pkg = lib.mkDefault ((import (hydra-src + /release.nix) {}).build.x86_64-linux); + # information pour l'état de hydra : # hydra-queue-runner --status | json_pp in @@ -56,7 +58,11 @@ mkIf cfg.hydra-core { listenHost = "localhost"; minimumDiskFree = 50; # Go smtpHost = "localhost"; - package = lib.mkDefault ((import (hydra-src + /release.nix) {}).build.x86_64-linux); + package = hydra-src-pkg ; + }; + + systemd.services.hydra-evaluator = { + path = [ pkgs.nettools config.services.hydra.package ]; }; ## Ménage