From 6474ec11bc438f7966cd112af847c03b6756e686 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Fri, 27 Sep 2024 22:43:02 +0100 Subject: [PATCH] google-cloud-sdk: remove bundled python It seems that the bundled python location has changed. This reduces ~500M size. --- pkgs/tools/admin/google-cloud-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/google-cloud-sdk/default.nix b/pkgs/tools/admin/google-cloud-sdk/default.nix index 80087bf65a5e..2064022d80c5 100644 --- a/pkgs/tools/admin/google-cloud-sdk/default.nix +++ b/pkgs/tools/admin/google-cloud-sdk/default.nix @@ -49,8 +49,8 @@ in stdenv.mkDerivation rec { runHook preInstall mkdir -p $out/google-cloud-sdk - if [ -d .install/platform/bundledpythonunix ]; then - rm -r .install/platform/bundledpythonunix + if [ -d platform/bundledpythonunix ]; then + rm -r platform/bundledpythonunix fi cp -R * .install $out/google-cloud-sdk/