summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-05-14 20:28:57 +0200
committerGitHub <noreply@github.com>2023-05-14 20:28:57 +0200
commitdb39b5c5c6c53022ba9897ca1e09e817c856e8ce (patch)
treefda52e6d68f1f2afe1f5ca9636182a91dc337e1b
parentMerge pull request #222819 from SuperSandro2000/matrix-ldap-c3d2 (diff)
parentgotools: don't build getgo (diff)
downloadnixpkgs-db39b5c5c6c53022ba9897ca1e09e817c856e8ce.tar.gz
Merge pull request #226865 from SuperSandro2000/gotools-getgo
gotools: don't build getgo
-rw-r--r--pkgs/development/tools/gotools/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/tools/gotools/default.nix b/pkgs/development/tools/gotools/default.nix
index e54df39b8bc1..167775e9eb2e 100644
--- a/pkgs/development/tools/gotools/default.nix
+++ b/pkgs/development/tools/gotools/default.nix
@@ -9,13 +9,16 @@ buildGoModule rec {
owner = "golang";
repo = "tools";
rev = "v${version}";
+ sha256 = "sha256-z5XJ7tflOfDBtv4rp7WEjnHsXIyjNw205PhazEvaYcw=";
+ };
+
+ postPatch = ''
# The gopls folder contains a Go submodule which causes a build failure
# and lives in its own package named gopls.
- postFetch = ''
- rm -r $out/gopls
- '';
- sha256 = "sha256-6Sdo6oKJHYXWkvJmbte7Wc7tov5AHzn70Bi1QdQ5HR4=";
- };
+ rm -r gopls
+ # getgo is an experimental go installer which adds generic named server and client binaries to $out/bin
+ rm -r cmd/getgo
+ '';
vendorSha256 = "sha256-fp0pb3EcGRDWlSpgel4pYRdsPJGk8/d57EjWJ+fzq7g=";