diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-20 14:04:46 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-20 17:30:47 +0100 |
commit | 4e5461127dd045be941d7bcf194c5794246241f5 (patch) | |
tree | 195c958182605265d90afe11d986dab7171e6f9f /pkgs | |
parent | 853d01fe4164936175854a7fdb814deda63d60ce (diff) | |
download | nixlib-4e5461127dd045be941d7bcf194c5794246241f5.tar nixlib-4e5461127dd045be941d7bcf194c5794246241f5.tar.gz nixlib-4e5461127dd045be941d7bcf194c5794246241f5.tar.bz2 nixlib-4e5461127dd045be941d7bcf194c5794246241f5.tar.lz nixlib-4e5461127dd045be941d7bcf194c5794246241f5.tar.xz nixlib-4e5461127dd045be941d7bcf194c5794246241f5.tar.zst nixlib-4e5461127dd045be941d7bcf194c5794246241f5.zip |
apache-httpd: Strip modules
We did this for 2.2 (cc61d31902d67b94333f53a5ab5772330bbc21cc) but lost this for 2.4. This reduces the Apache closure size from 312 MiB to 102 MiB (primarily by getting rid of -dev outputs).
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/http/apache-httpd/2.4.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index e9c1ec8b7242..f70d6266e8d7 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { preConfigure = '' configureFlags="$configureFlags --includedir=$dev/include" ''; + configureFlags = '' --with-apr=${apr.dev} --with-apr-util=${aprutil.dev} @@ -67,6 +68,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + stripDebugList = "lib modules bin"; + postInstall = '' mkdir -p $doc/share/doc/httpd mv $out/manual $doc/share/doc/httpd |