golangci-link: fix linting suggestion
This commit is contained in:
parent
4e924dac05
commit
4a153bdb51
@ -19,7 +19,9 @@ buildGoModule rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev} -X main.date=19700101-00:00:00" ];
|
preBuild = ''
|
||||||
|
buildFlagsArray+=("-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev} -X main.date=19700101-00:00:00")
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for shell in bash zsh; do
|
for shell in bash zsh; do
|
||||||
@ -31,7 +33,7 @@ buildGoModule rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast linters Runner for Go";
|
description = "Fast linters Runner for Go";
|
||||||
homepage = "https://golangci-lint.run/";
|
homepage = "https://golangci-lint.run/";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ anpryl manveru ];
|
maintainers = with maintainers; [ anpryl manveru mic92 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user