forked from mirrors/nixpkgs
Merge pull request #15678 from steveeJ/bump-goerrcheck
go/errcheck: bump version, remove postPatch
This commit is contained in:
commit
579073eec7
|
@ -831,16 +831,10 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
errcheck = buildFromGitHub {
|
errcheck = buildFromGitHub {
|
||||||
rev = "f76568f8d87e48ccbbd17a827c2eaf31805bf58c";
|
rev = "8e25ad9d46f6c5d4e994edf82c57eb773a9aa73d";
|
||||||
owner = "kisielk";
|
owner = "kisielk";
|
||||||
repo = "errcheck";
|
repo = "errcheck";
|
||||||
sha256 = "1y1cqd0ibgr03zf96q6aagk65yhv6vcnq9xa8nqhjpnz7jhfndhs";
|
sha256 = "1089qf05q8db8h6ayn1c1iaq4fcpv18z3k94dr27v31k6f73dzhg";
|
||||||
postPatch = ''
|
|
||||||
for f in $(find -name "*.go"); do
|
|
||||||
substituteInPlace $f \
|
|
||||||
--replace '"go/types"' '"golang.org/x/tools/go/types"'
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
excludedPackages = [ "testdata" ];
|
excludedPackages = [ "testdata" ];
|
||||||
buildInputs = [ gotool tools ];
|
buildInputs = [ gotool tools ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue