golangci-link: fix linting suggestion

This commit is contained in:
Jörg Thalheim 2021-02-22 18:10:41 +01:00
parent 4e924dac05
commit 4a153bdb51
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -19,7 +19,9 @@ buildGoModule rec {
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 = ''
for shell in bash zsh; do
@ -31,7 +33,7 @@ buildGoModule rec {
meta = with lib; {
description = "Fast linters Runner for Go";
homepage = "https://golangci-lint.run/";
license = licenses.gpl3;
maintainers = with maintainers; [ anpryl manveru ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ anpryl manveru mic92 ];
};
}