diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-01-15 21:02:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 21:02:05 -0500 |
commit | 7260d2eb1332b04da3db2a6093868a27bfa6ee83 (patch) | |
tree | fa204dc9ef0522b542ad52b6f88dc58f092467cb /pkgs/servers | |
parent | 588e1c61cbe6cce42b8c2c9025696df50c0472f3 (diff) | |
parent | 336a6f471f1e40d4a440b4176c2a1b8db65fe007 (diff) | |
download | nixlib-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar nixlib-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.gz nixlib-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.bz2 nixlib-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.lz nixlib-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.xz nixlib-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.zst nixlib-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.nix | 1 |
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 d5da6df8d689..252365098ddc 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’. |