From c40c1be7987e0609fac5308e58cb672104418110 Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Sat, 30 May 2015 11:50:59 -0700 Subject: [PATCH] prometheus-mesos-exporter: Fix misplaced dependencies goPackages.mesos-stats doesn't actually have any dependencies of its own; the mesos_exporter app does. --- .../monitoring/prometheus/mesos_exporter/default.nix | 6 +++++- pkgs/top-level/go-packages.nix | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/mesos_exporter/default.nix b/pkgs/servers/monitoring/prometheus/mesos_exporter/default.nix index 5a62a46823b..fec66af2469 100644 --- a/pkgs/servers/monitoring/prometheus/mesos_exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/mesos_exporter/default.nix @@ -12,7 +12,11 @@ goPackages.buildGoPackage rec { sha256 = "059az73j717gd960g4jigrxnvqrjh9jw1c324xpwaafa0bf10llm"; }; - buildInputs = [ goPackages.mesos-stats ]; + buildInputs = [ + goPackages.mesos-stats + goPackages.prometheus.client_golang + goPackages.glog + ]; meta = with lib; { description = "Export Mesos metrics to Prometheus"; diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix index 63df1012afd..9af04081000 100644 --- a/pkgs/top-level/go-packages.nix +++ b/pkgs/top-level/go-packages.nix @@ -1674,8 +1674,6 @@ let repo = "mesos_stats"; sha256 = "18ggyjf4nyn77gkn16wg9krp4dsphgzdgcr3mdflv6mvbr482ar4"; }; - - propagatedBuildInputs = [ prometheus.client_golang glog ]; }; mgo = buildGoPackage rec {