mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
google-cloud-sdk: strip the Cython gRPC library
This reduces output size by 21 MiB.
This commit is contained in:
parent
b7641eaa5a
commit
6ceebc441c
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue