google-cloud-sdk: remove original package from extra-components closures (#266579)

This is a difference of ~444 megabytes.

authored by Nick Novitski and committed by GitHub 68baab12 229ee1db

+2 -1
+2 -1
pkgs/tools/admin/google-cloud-sdk/withExtraComponents.nix
··· 32 passAsFile = [ "comps" ]; 33 34 doInstallCheck = true; 35 installCheckPhase = 36 let 37 compNames = builtins.map (drv: drv.name) comps_; ··· 57 done 58 59 # Replace references to the original google-cloud-sdk with this one 60 - find $out/google-cloud-sdk/bin/ -type f -exec sed -i -e "s#${google-cloud-sdk}#$out#" {} \; 61 ''
··· 32 passAsFile = [ "comps" ]; 33 34 doInstallCheck = true; 35 + disallowedRequisites = [ google-cloud-sdk ]; 36 installCheckPhase = 37 let 38 compNames = builtins.map (drv: drv.name) comps_; ··· 58 done 59 60 # Replace references to the original google-cloud-sdk with this one 61 + find $out/google-cloud-sdk -type f -exec sed -i -e "s#${google-cloud-sdk}#$out#" {} \; 62 ''