Unverified Commit 68baab12 authored by Nick Novitski's avatar Nick Novitski Committed by GitHub
Browse files

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

This is a difference of ~444 megabytes.
parent 229ee1db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ runCommand "google-cloud-sdk-${google-cloud-sdk.version}"
  passAsFile = [ "comps" ];

  doInstallCheck = true;
  disallowedRequisites = [ google-cloud-sdk ];
  installCheckPhase =
    let
      compNames = builtins.map (drv: drv.name) comps_;
@@ -57,5 +58,5 @@ runCommand "google-cloud-sdk-${google-cloud-sdk.version}"
    done

    # Replace references to the original google-cloud-sdk with this one
    find $out/google-cloud-sdk/bin/ -type f -exec sed -i -e "s#${google-cloud-sdk}#$out#" {} \;
    find $out/google-cloud-sdk -type f -exec sed -i -e "s#${google-cloud-sdk}#$out#" {} \;
  ''