influxdb2: buildFlagsArray -> ldflags, tags

This commit is contained in:
zowoq 2021-08-07 12:28:40 +10:00
parent 0da7297b4b
commit 0e50afedc1

View file

@ -102,12 +102,12 @@ in buildGoModule {
go generate
popd
done
export buildFlagsArray=(
-tags="assets"
-ldflags="-X main.commit=${shorthash} -X main.version=${version}"
)
'';
tags = [ "assets" ];
ldflags = [ "-X main.commit=${shorthash}" "-X main.version=${version}" ];
meta = with lib; {
description = "An open-source distributed time series database";
license = licenses.mit;