mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
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:
parent
853d01fe41
commit
4e5461127d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user