mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
android: more output size reduction
This should bring us finally under the 2G max. llvm directory was missing from my last commit.
This commit is contained in:
parent
e1e9b197f9
commit
37aab4cbb5
@ -56,9 +56,9 @@ stdenv.mkDerivation rec {
|
||||
cd ${pkg_path}
|
||||
|
||||
# Steps to reduce output size
|
||||
rm -rf ${pkg_path}/docs ${pkg_path}/sources ${pkg_path}/tests
|
||||
rm -rf docs sources tests
|
||||
# We only support cross compiling with gcc for now
|
||||
rm -rf ${pkg_path}/toolchains/*-clang* ${pkg_path}/toolchains/llvm-*
|
||||
rm -rf toolchains/*-clang* toolchains/llvm*
|
||||
|
||||
find ${pkg_path}/toolchains \( \
|
||||
\( -type f -a -name "*.so*" \) -o \
|
||||
|
Loading…
Reference in New Issue
Block a user