gopls: use buildGoLatestModule

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-06-03 12:46:02 +02:00
parent 7ab490624e
commit 3ee1cb2d24
+5 -2
View File
@@ -1,12 +1,15 @@
{
lib,
buildGoModule,
# gopls breaks if it is compiled with a lower version than the one it is running against.
# This will affect users especially when project they work on bump go minor version before
# the update went through nixpkgs staging. Further, gopls is a central ecosystem component.
buildGoLatestModule,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
buildGoModule (finalAttrs: {
buildGoLatestModule (finalAttrs: {
pname = "gopls";
version = "0.18.1";