loki: format with nixpkgs-fmt
This commit is contained in:
parent
239d8e2517
commit
fc4c2e4103
|
@ -1,4 +1,10 @@
|
|||
{ stdenv, lib, buildGoModule, fetchFromGitHub, makeWrapper, nixosTests, systemd
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, nixosTests
|
||||
, systemd
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -32,9 +38,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
|
||||
'';
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue