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;