From ca03137845cda3d44504a8ea4d78251d353817f3 Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Tue, 19 Apr 2016 14:24:53 +0200 Subject: [PATCH] apache: strip modules --- pkgs/servers/http/apache-httpd/2.2.nix | 3 +-- pkgs/servers/http/apache-httpd/2.4.nix | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/apache-httpd/2.2.nix b/pkgs/servers/http/apache-httpd/2.2.nix index bb4fa9782d6a2..91b967f82b1da 100644 --- a/pkgs/servers/http/apache-httpd/2.2.nix +++ b/pkgs/servers/http/apache-httpd/2.2.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { # FIXME: -dev depends on -doc outputs = [ "dev" "out" "doc" ]; setOutputFlags = false; # it would move $out/modules, etc. + stripDebugList= [ "bin" "lib" "modules" ]; # also strip modules. propagatedBuildInputs = [ apr ]; # otherwise mod_* fail to find includes often buildInputs = [ pkgconfig perl aprutil pcre zlib ] ++ @@ -56,8 +57,6 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - stripDebugList = "lib modules bin"; - postInstall = '' mkdir -p $doc/share/doc/httpd mv $out/manual $doc/share/doc/httpd diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index f69001da08ac8..b18e0ff9f285d 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { # FIXME: -dev depends on -doc outputs = [ "dev" "out" "doc" ]; setOutputFlags = false; # it would move $out/modules, etc. + stripDebugList= [ "bin" "lib" "modules" ]; # also strip modules. buildInputs = [perl] ++ optional sslSupport openssl ++