3
0
Fork 0
forked from mirrors/nixpkgs

apache-httpd: Strip modules

We did this for 2.2 (cc61d31902) 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).
This commit is contained in:
Eelco Dolstra 2017-03-20 14:04:46 +01:00
parent 853d01fe41
commit 4e5461127d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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