golangci-lint: 1.37.0 -> 1.37.1

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

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "golangci-lint";
version = "1.37.0";
version = "1.37.1";
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "sha256-bL5NNN+6AEmjp3HREzJX+l6HsmU8i03ynR5J/EWhizU=";
sha256 = "sha256-x0VLNQeTVN9aPO06Yi1DTb8bTjq+9VemJaX1R+8s/Bg=";
};
vendorSha256 = "sha256-7wa/gdpxcIxjyFHuwAlDNa7BvmWUiIXKhljm5VZr91g=";
vendorSha256 = "sha256-uduT4RL6p6/jdT8JeTx+FY9bz0P2eUSaFNDIzi7jcqg=";
doCheck = false;
@ -20,7 +20,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
preBuild = ''
buildFlagsArray+=("-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev} -X main.date=19700101-00:00:00")
buildFlagsArray+=("-ldflags=-s -w -X main.version=${version} -X main.commit=v${version} -X main.date=19700101-00:00:00")
'';
postInstall = ''