gopls: use buildGoLatestModule (#413556)

authored by Paul Meyer and committed by GitHub 8e10b6be 58952fbc

+5 -2
+5 -2
pkgs/by-name/go/gopls/package.nix
··· 1 1 { 2 2 lib, 3 - buildGoModule, 3 + # gopls breaks if it is compiled with a lower version than the one it is running against. 4 + # This will affect users especially when project they work on bump go minor version before 5 + # the update went through nixpkgs staging. Further, gopls is a central ecosystem component. 6 + buildGoLatestModule, 4 7 fetchFromGitHub, 5 8 nix-update-script, 6 9 versionCheckHook, 7 10 }: 8 11 9 - buildGoModule (finalAttrs: { 12 + buildGoLatestModule (finalAttrs: { 10 13 pname = "gopls"; 11 14 version = "0.18.1"; 12 15