about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/kubernetes
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2022-06-04 18:43:18 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2022-06-06 14:06:11 +1000
commita60358bec9b6f89e7ed727c1d88336d8f0379ea1 (patch)
treeb11126651c3297431256c5e834c31ade35489a4b /pkgs/applications/networking/cluster/kubernetes
parent66172026e025bfdf08d5be4f9b8d5be9b70f912f (diff)
kubernetes: drop obsolete workarounds
Diffstat (limited to 'pkgs/applications/networking/cluster/kubernetes')
-rw-r--r--pkgs/applications/networking/cluster/kubernetes/default.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/applications/networking/cluster/kubernetes/default.nix b/pkgs/applications/networking/cluster/kubernetes/default.nix
index deb95b695d2b2..10b781a7dad41 100644
--- a/pkgs/applications/networking/cluster/kubernetes/default.nix
+++ b/pkgs/applications/networking/cluster/kubernetes/default.nix
@@ -37,15 +37,7 @@ stdenv.mkDerivation rec {
   patches = [ ./fixup-addonmanager-lib-path.patch ];
 
   postPatch = ''
-    # go env breaks the sandbox
-    substituteInPlace "hack/lib/golang.sh" \
-      --replace 'echo "$(go env GOHOSTOS)/$(go env GOHOSTARCH)"' 'echo "${go.GOOS}/${go.GOARCH}"'
-
     substituteInPlace "hack/update-generated-docs.sh" --replace "make" "make SHELL=${stdenv.shell}"
-    # hack/update-munge-docs.sh only performs some tests on the documentation.
-    # They broke building k8s; disabled for now.
-    echo "true" > "hack/update-munge-docs.sh"
-
     patchShebangs ./hack
   '';