git.iko.soy/typeable/nixpkgs
on master help sign in
golangci-link: fix linting suggestion
commit4a153bdb512c019d0a986b540b68a69060c4a247 authorJörg Thalheim <joerg@thalheim.io> dateMon 22 Feb 2021, 18:10 (6 years ago) parent4e924da
1 file changed+5−3
pkgs/development/tools/golangci-lint/default.nix+5−3
pkgs/development/tools/golangci-lint/default.nix+5−3
@@ -19,7 +19,9 @@ buildGoModule rec {
1919
2020 nativeBuildInputs = [ installShellFiles ];
2121
22− buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev} -X main.date=19700101-00:00:00" ];
22+ preBuild = ''
23+ buildFlagsArray+=("-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev} -X main.date=19700101-00:00:00")
24+ '';
2325
2426 postInstall = ''
2527 for shell in bash zsh; do
@@ -31,7 +33,7 @@ buildGoModule rec {
3133 meta = with lib; {
3234 description = "Fast linters Runner for Go";
3335 homepage = "https://golangci-lint.run/";
34− license = licenses.gpl3;
35− maintainers = with maintainers; [ anpryl manveru ];
36+ license = licenses.gpl3Plus;
37+ maintainers = with maintainers; [ anpryl manveru mic92 ];
3638 };
3739}