mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gopls: set correct version (#299690)
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
parent
72c6ed328a
commit
b82bcbdb35
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ buildGoModule rec {
|
|||
modRoot = "gopls";
|
||||
vendorHash = "sha256-q7vWiXJAX4u8B4RyFc7kg1BvMCPaTBFOVkWXeE78Emo=";
|
||||
|
||||
# https://github.com/golang/tools/blob/9ed98faa/gopls/main.go#L27-L30
|
||||
ldflags = [ "-X main.version=v${version}" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# Only build gopls, and not the integration tests or documentation generator.
|
||||
|
|
Loading…
Reference in a new issue