summary refs log tree commit diff
path: root/pkgs/development/tools/gopls/default.nix
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-10-28 22:42:07 +0000
committerGitHub <noreply@github.com>2020-10-28 23:42:07 +0100
commita30a084b371a364f684adaed66fbab83324a6a56 (patch)
tree1bf3df72df25e5211546b5ae2162c11e4aec2983 /pkgs/development/tools/gopls/default.nix
parent655d9b5149ceefdeceafcd49c6f7d78eda8af157 (diff)
downloadnixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.tar
nixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.tar.gz
nixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.tar.bz2
nixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.tar.lz
nixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.tar.xz
nixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.tar.zst
nixpkgs-a30a084b371a364f684adaed66fbab83324a6a56.zip
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.
Diffstat (limited to 'pkgs/development/tools/gopls/default.nix')
-rw-r--r--pkgs/development/tools/gopls/default.nix3
1 files changed, 3 insertions, 0 deletions
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";