From 76c34a9590585702c0bc75cf7f60499b6a682825 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Tue, 19 May 2015 10:43:06 +0200 Subject: [PATCH] prometheus/pushgateway: fix after golang_protobuf_extensions update --- pkgs/servers/monitoring/prometheus/pushgateway/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/monitoring/prometheus/pushgateway/default.nix b/pkgs/servers/monitoring/prometheus/pushgateway/default.nix index db66e963208e..c16cb7a9408e 100644 --- a/pkgs/servers/monitoring/prometheus/pushgateway/default.nix +++ b/pkgs/servers/monitoring/prometheus/pushgateway/default.nix @@ -37,6 +37,9 @@ buildGoPackage rec { ( cd "go/src/$goPackagePath" go-bindata ./resources/ + ${govers}/bin/govers -d -m github.com/matttproud/golang_protobuf_extensions/ext github.com/matttproud/golang_protobuf_extensions/pbutil + substituteInPlace handler/push.go \ + --replace ext.ReadDelimited pbutil.ReadDelimited ) '';