From 5bda7e7fb2655eab3f8ae5cf1839baf5a35d00a6 Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 13 Feb 2020 11:14:31 +0000 Subject: [PATCH] google-cloud-sdk: remove gsutil test The command module references the tests, and since all command modules get imported at startup, dbaafbbf73ef5aeb2fa7d5aea73bb32b9d78e4f3 turned it into a startup crash. Unless you're actively hacking on gsutil, this command isn't much use, so we're better off without it. --- pkgs/tools/admin/google-cloud-sdk/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/admin/google-cloud-sdk/default.nix b/pkgs/tools/admin/google-cloud-sdk/default.nix index 93cbb63ce9c9..326d15a9318e 100644 --- a/pkgs/tools/admin/google-cloud-sdk/default.nix +++ b/pkgs/tools/admin/google-cloud-sdk/default.nix @@ -84,6 +84,7 @@ in stdenv.mkDerivation rec { # remove tests and test data find $out -name tests -type d -exec rm -rf '{}' + + rm $out/google-cloud-sdk/platform/gsutil/gslib/commands/test.py # compact all the JSON find $out -name \*.json | while read path; do