From fde23a01b4778bd5e044e8e80458ed4dd8c29dca Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 28 Feb 2016 14:54:25 +0100 Subject: [PATCH] nixos/collectd: Fix package option Commit ed979124cad7596de539188e86664b3784c363ca was missing some code. --- nixos/modules/services/monitoring/collectd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/collectd.nix b/nixos/modules/services/monitoring/collectd.nix index a3280b08bd0..3c3d83c66ed 100644 --- a/nixos/modules/services/monitoring/collectd.nix +++ b/nixos/modules/services/monitoring/collectd.nix @@ -100,7 +100,7 @@ in { wantedBy = [ "multi-user.target" ]; serviceConfig = { - ExecStart = "${pkgs.collectd}/sbin/collectd -C ${conf} -P ${cfg.pidFile}"; + ExecStart = "${cfg.package}/sbin/collectd -C ${conf} -P ${cfg.pidFile}"; Type = "forking"; PIDFile = cfg.pidFile; User = optional (cfg.user!="root") cfg.user;