diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-22 17:49:28 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-22 17:49:28 -0400 |
commit | e1e9b197f9749b28b31cbb1e79465700dd89baaa (patch) | |
tree | 78a88a179cd45c4251cac093f2b21fe7ac4cce93 /pkgs/development/mobile | |
parent | bbef861e0f48e60764c8f47286af84a3099316dd (diff) | |
download | nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.tar nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.tar.gz nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.tar.bz2 nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.tar.lz nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.tar.xz nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.tar.zst nixlib-e1e9b197f9749b28b31cbb1e79465700dd89baaa.zip |
android: fix from last output size reduction
Directories weren’t being removed properly.
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r-- | pkgs/development/mobile/androidenv/androidndk.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/mobile/androidenv/androidndk.nix b/pkgs/development/mobile/androidenv/androidndk.nix index cc46c1b2b99c..3d0ef39df14d 100644 --- a/pkgs/development/mobile/androidenv/androidndk.nix +++ b/pkgs/development/mobile/androidenv/androidndk.nix @@ -35,11 +35,6 @@ stdenv.mkDerivation rec { cd $out/libexec unzip -qq $src - # Steps to reduce output size - rm -rf docs sources tests - # We only support cross compiling with gcc for now - rm -rf toolchains/*-clang* toolchains/llvm-* - patchShebangs ${pkg_path} # so that it doesn't fail because of read-only permissions set @@ -60,6 +55,11 @@ stdenv.mkDerivation rec { } cd ${pkg_path} + # Steps to reduce output size + rm -rf ${pkg_path}/docs ${pkg_path}/sources ${pkg_path}/tests + # We only support cross compiling with gcc for now + rm -rf ${pkg_path}/toolchains/*-clang* ${pkg_path}/toolchains/llvm-* + find ${pkg_path}/toolchains \( \ \( -type f -a -name "*.so*" \) -o \ \( -type f -a -perm -0100 \) \ |