summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2020-01-15 21:02:05 -0500
committerGitHub <noreply@github.com>2020-01-15 21:02:05 -0500
commit7260d2eb1332b04da3db2a6093868a27bfa6ee83 (patch)
treefa204dc9ef0522b542ad52b6f88dc58f092467cb /pkgs/servers
parent588e1c61cbe6cce42b8c2c9025696df50c0472f3 (diff)
parent336a6f471f1e40d4a440b4176c2a1b8db65fe007 (diff)
downloadnixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar
nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.gz
nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.bz2
nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.lz
nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.xz
nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.zst
nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.zip
Merge pull request #77326 from aanderse/apacheHttpd
nixos/httpd: symlink apache configuration to /etc/httpd/httpd.conf for use in the apachectl command
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/http/apache-httpd/2.4.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix
index d5da6df8d68..252365098dd 100644
--- a/pkgs/servers/http/apache-httpd/2.4.nix
+++ b/pkgs/servers/http/apache-httpd/2.4.nix
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
   prePatch = ''
     sed -i config.layout -e "s|installbuilddir:.*|installbuilddir: $dev/share/build|"
     sed -i support/apachectl.in -e 's|@LYNX_PATH@|${lynx}/bin/lynx|'
+    sed -i support/apachectl.in -e 's|$HTTPD -t|$HTTPD -t -f /etc/httpd/httpd.conf|'
   '';
 
   # Required for ‘pthread_cancel’.