gotools: don't build getgo

This commit is contained in:
Sandro Jäckel 2023-04-18 16:27:56 +02:00
parent fa1c1b1e5b
commit 65d801bfef

View file

@ -9,13 +9,16 @@ buildGoModule rec {
owner = "golang"; owner = "golang";
repo = "tools"; repo = "tools";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-z5XJ7tflOfDBtv4rp7WEjnHsXIyjNw205PhazEvaYcw=";
};
postPatch = ''
# The gopls folder contains a Go submodule which causes a build failure # The gopls folder contains a Go submodule which causes a build failure
# and lives in its own package named gopls. # and lives in its own package named gopls.
postFetch = '' rm -r gopls
rm -r $out/gopls # getgo is an experimental go installer which adds generic named server and client binaries to $out/bin
''; rm -r cmd/getgo
sha256 = "sha256-6Sdo6oKJHYXWkvJmbte7Wc7tov5AHzn70Bi1QdQ5HR4="; '';
};
vendorSha256 = "sha256-fp0pb3EcGRDWlSpgel4pYRdsPJGk8/d57EjWJ+fzq7g="; vendorSha256 = "sha256-fp0pb3EcGRDWlSpgel4pYRdsPJGk8/d57EjWJ+fzq7g=";