influxdb: make it know what version it is

This commit is contained in:
Peter Hoeg 2017-11-25 10:45:49 +08:00
parent f62c87b45f
commit fd680f162c

View File

@ -11,6 +11,10 @@ buildGoPackage rec {
sha256 = "048ap70hdfkxhy0y8q1jsb0lql1i99jnf3cqaqar6qs2ynzsw9hd";
};
buildFlagsArray = [ ''-ldflags=
-X main.version=${version}
'' ];
goPackagePath = "github.com/influxdata/influxdb";
excludedPackages = "test";