From 92377672770532ff5642e9d5e4b639db2357c053 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 17 Jan 2020 16:28:31 +0100 Subject: [PATCH] nixos/buildkite-agent: actually use services.buildkite-agent.package We were currently just using pkgs.buildkite-agent, no matter what was configured in services.buildkite-agent.package --- .../modules/services/continuous-integration/buildkite-agent.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/continuous-integration/buildkite-agent.nix b/nixos/modules/services/continuous-integration/buildkite-agent.nix index 49fa4271cac..ca31865b9c2 100644 --- a/nixos/modules/services/continuous-integration/buildkite-agent.nix +++ b/nixos/modules/services/continuous-integration/buildkite-agent.nix @@ -223,7 +223,7 @@ in ''; serviceConfig = - { ExecStart = "${cfg.buildkite-agent}/bin/buildkite-agent start --config /var/lib/buildkite-agent/buildkite-agent.cfg"; + { ExecStart = "${cfg.package}/bin/buildkite-agent start --config /var/lib/buildkite-agent/buildkite-agent.cfg"; User = "buildkite-agent"; RestartSec = 5; Restart = "on-failure";