summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-03-11 11:50:40 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-03-11 11:54:53 +0100
commitc801cd1a047efa51055fd04698e316ddd503fd1b (patch)
tree36c1f79053f7a2c97037095a4e334fecd76ce1b3 /nixos/modules
parentcb1b4e803d526953eb5bf270858154c73e442739 (diff)
downloadnixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.tar
nixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.tar.gz
nixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.tar.bz2
nixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.tar.lz
nixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.tar.xz
nixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.tar.zst
nixlib-c801cd1a047efa51055fd04698e316ddd503fd1b.zip
php: fixup build when configured with httpd via nixos
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix
index ed66ea9fc876..760d7e147d7c 100644
--- a/nixos/modules/services/web-servers/apache-httpd/default.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/default.nix
@@ -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;