php: fixup build when configured with httpd via nixos
This commit is contained in:
parent
cb1b4e803d
commit
c801cd1a04
@ -12,7 +12,7 @@ let
|
|||||||
|
|
||||||
httpdConf = mainCfg.configFile;
|
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;
|
getPort = cfg: if cfg.port != 0 then cfg.port else if cfg.enableSSL then 443 else 80;
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ let
|
|||||||
# SAPI modules:
|
# SAPI modules:
|
||||||
|
|
||||||
apxs2 = {
|
apxs2 = {
|
||||||
configureFlags = ["--with-apxs2=${apacheHttpd}/bin/apxs"];
|
configureFlags = ["--with-apxs2=${apacheHttpd.dev}/bin/apxs"];
|
||||||
buildInputs = [apacheHttpd];
|
buildInputs = [apacheHttpd];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user