Merge pull request #114911 from Ma27/loki-buildinfo
grafana-loki: add buildinfo
This commit is contained in:
commit
f1c25b73f3
@ -26,6 +26,10 @@ buildGoModule rec {
|
||||
|
||||
passthru.tests = { inherit (nixosTests) loki; };
|
||||
|
||||
buildFlagsArray = let t = "github.com/grafana/loki/pkg/build"; in ''
|
||||
-ldflags=-s -w -X ${t}.Version=${version} -X ${t}.BuildUser=nix@nixpkgs -X ${t}.BuildDate=unknown -X ${t}.Branch=unknown -X ${t}.Revision=unknown
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user