about summary refs log tree commit diff
path: root/pkgs/development/interpreters/spidermonkey
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-06-03 08:44:12 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-06-07 09:22:14 +0200
commit4c475520d9561242fdaf403129b0226010677169 (patch)
tree1109bae550d6bb8cb4731a4735d7dce25b8f1791 /pkgs/development/interpreters/spidermonkey
parent5df1aadd68a157997c5ff419a8f4e1db23e5a5ae (diff)
downloadnixlib-4c475520d9561242fdaf403129b0226010677169.tar
nixlib-4c475520d9561242fdaf403129b0226010677169.tar.gz
nixlib-4c475520d9561242fdaf403129b0226010677169.tar.bz2
nixlib-4c475520d9561242fdaf403129b0226010677169.tar.lz
nixlib-4c475520d9561242fdaf403129b0226010677169.tar.xz
nixlib-4c475520d9561242fdaf403129b0226010677169.tar.zst
nixlib-4c475520d9561242fdaf403129b0226010677169.zip
spidermonkey_17: remove *.a to save 8 MB
The sole user (polkit) still builds fine.
Inspired by #8147.
Diffstat (limited to 'pkgs/development/interpreters/spidermonkey')
-rw-r--r--pkgs/development/interpreters/spidermonkey/17.0.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/spidermonkey/17.0.nix b/pkgs/development/interpreters/spidermonkey/17.0.nix
index 74f0fe2b83a4..41757244c004 100644
--- a/pkgs/development/interpreters/spidermonkey/17.0.nix
+++ b/pkgs/development/interpreters/spidermonkey/17.0.nix
@@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
     paxmark mr jsapi-tests/jsapi-tests
   '';
 
+  postInstall = ''rm "$out"/lib/*.a''; # halve the output size
+
   meta = with stdenv.lib; {
     description = "Mozilla's JavaScript engine written in C/C++";
     homepage = https://developer.mozilla.org/en/SpiderMonkey;