@@ -831,16 +831,10 @@ let
831831 };
832832
833833 errcheck = buildFromGitHub {
834− rev = "f76568f8d87e48ccbbd17a827c2eaf31805bf58c";
834+ rev = "8e25ad9d46f6c5d4e994edf82c57eb773a9aa73d";
835835 owner = "kisielk";
836836 repo = "errcheck";
837− sha256 = "1y1cqd0ibgr03zf96q6aagk65yhv6vcnq9xa8nqhjpnz7jhfndhs";
838− postPatch = ''
839− for f in $(find -name "*.go"); do
840− substituteInPlace $f \
841− --replace '"go/types"' '"golang.org/x/tools/go/types"'
842− done
843− '';
837+ sha256 = "1089qf05q8db8h6ayn1c1iaq4fcpv18z3k94dr27v31k6f73dzhg";
844838 excludedPackages = [ "testdata" ];
845839 buildInputs = [ gotool tools ];
846840 };