php: fixup build when configured with httpd via nixos

This commit is contained in:
Vladimír Čunát 2016-03-11 11:50:40 +01:00
parent cb1b4e803d
commit c801cd1a04
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ let
httpdConf = mainCfg.configFile;
php = pkgs.php.override { apacheHttpd = httpd; };
php = pkgs.php.override { apacheHttpd = httpd.dev; /* otherwise it only gets .out */ };
getPort = cfg: if cfg.port != 0 then cfg.port else if cfg.enableSSL then 443 else 80;

View file

@ -30,7 +30,7 @@ let
# SAPI modules:
apxs2 = {
configureFlags = ["--with-apxs2=${apacheHttpd}/bin/apxs"];
configureFlags = ["--with-apxs2=${apacheHttpd.dev}/bin/apxs"];
buildInputs = [apacheHttpd];
};