From cdc4414183edc75690e911d7c53e83e452f8f892 Mon Sep 17 00:00:00 2001 From: coolcuber Date: Sat, 22 Aug 2026 20:50:38 -0400 Subject: [PATCH] golint: fix version, enable structuredAttrs, use hash --- pkgs/by-name/go/golint/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/go/golint/package.nix b/pkgs/by-name/go/golint/package.nix index 13f8e10b1468..df9b0c861887 100644 --- a/pkgs/by-name/go/golint/package.nix +++ b/pkgs/by-name/go/golint/package.nix @@ -6,7 +6,9 @@ buildGoModule { pname = "golint"; - version = "unstable-2020-12-08"; + version = "0-unstable-2020-12-08"; + + __structuredAttrs = true; # we must allow references to the original `go` package, as golint uses # compiler go/build package to load the packages it's linting. @@ -15,7 +17,7 @@ buildGoModule { src = fetchgit { url = "https://go.googlesource.com/lint"; rev = "83fdc39ff7b56453e3793356bcff3070b9b96445"; - sha256 = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c="; + hash = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c="; }; vendorHash = "sha256-dPadFoymYu2Uw2AXZfbaBfxsN8IWMuK1TrcknHco3Bo=";