diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-02-22 18:10:41 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-02-22 18:10:41 +0100 |
commit | 4a153bdb512c019d0a986b540b68a69060c4a247 (patch) | |
tree | ab9964001c393dbffcc0bec13b086c3b65ba5fa5 /pkgs/development/tools/golangci-lint | |
parent | 4e924dac0557c611114b13b336f14b29f7f09623 (diff) |
golangci-link: fix linting suggestion
Diffstat (limited to 'pkgs/development/tools/golangci-lint')
-rw-r--r-- | pkgs/development/tools/golangci-lint/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/tools/golangci-lint/default.nix b/pkgs/development/tools/golangci-lint/default.nix index 7b9568d3d4110..4aa58e6487a7c 100644 --- a/pkgs/development/tools/golangci-lint/default.nix +++ b/pkgs/development/tools/golangci-lint/default.nix @@ -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 ]; }; } |