google-cloud-sdk: strip the Cython gRPC library

This reduces output size by 21 MiB.
This commit is contained in:
edef 2020-01-31 08:57:26 +00:00
parent b7641eaa5a
commit 6ceebc441c

View File

@ -89,6 +89,9 @@ in stdenv.mkDerivation rec {
jq -c . $path > $path.min
mv $path.min $path
done
# strip the Cython gRPC library
strip $out/google-cloud-sdk/lib/third_party/grpc/_cython/cygrpc.so
'';
meta = with stdenv.lib; {