gopls: 0.8.0 -> 0.8.1
Update gopls. This also changes the version of go used to build it to go1.18. This is required for gopls to work with go1.18 code. It's still backwards compatible with go1.17 code, so building with 1.18 should allow us to support all supported go versions (1.17+1.18) correctly, while building with 1.17 does not. Once #164320 merges, this should switch back to buildGoModule.
This commit is contained in:
parent
1900db5c70
commit
a5e5389637
|
@ -1,18 +1,18 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGo118Module, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGo118Module rec {
|
||||||
pname = "gopls";
|
pname = "gopls";
|
||||||
version = "0.8.0";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "golang";
|
owner = "golang";
|
||||||
repo = "tools";
|
repo = "tools";
|
||||||
rev = "gopls/v${version}";
|
rev = "gopls/v${version}";
|
||||||
sha256 = "sha256-VBan3IKqf3AFrPoryT/U7lGabFHSXMhaBpnNw3LRH/I=";
|
sha256 = "sha256-ypuZQt6iF1QRk/FsoTKnJlb5CWIEkvK7r37t4rSxhmU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
modRoot = "gopls";
|
modRoot = "gopls";
|
||||||
vendorSha256 = "sha256-pW4G89fYFwVM2EkIqTCsl2lhN677LIMFpKPvLVV2boY=";
|
vendorSha256 = "sha256-SY08322wuJl8F790oXGmYo82Yadi14kDpoVGCGVMF0c=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue