From a30a084b371a364f684adaed66fbab83324a6a56 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Wed, 28 Oct 2020 22:42:07 +0000 Subject: [PATCH] gopls: don't build integration tests or documentation generator (#101641) Not only are these not used, but they also have super generic names, which is confusing when they appear on the path, and possibly leads to conflicts with other binaries. --- pkgs/development/tools/gopls/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/gopls/default.nix b/pkgs/development/tools/gopls/default.nix index 66582969714..290500376e8 100644 --- a/pkgs/development/tools/gopls/default.nix +++ b/pkgs/development/tools/gopls/default.nix @@ -15,6 +15,9 @@ buildGoModule rec { doCheck = false; + # Only build gopls, and not the integration tests or documentation generator. + subPackages = [ "." ]; + meta = with stdenv.lib; { description = "Official language server for the Go language"; homepage = "https://github.com/golang/tools/tree/master/gopls";