summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2018-10-11 20:37:55 -0400
committerAaron Andersen <aaron@fosslib.net>2018-10-11 20:37:55 -0400
commit74e6e0547999dca07c5bfe4d3f244b2647950384 (patch)
treecafad02f4bc128104fe9ba72ad4cafc8278a1cc2 /pkgs/servers/http
parent764dbef8b1c2b8aa47d98e817b50648116c3c9c5 (diff)
downloadnixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.tar
nixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.tar.gz
nixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.tar.bz2
nixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.tar.lz
nixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.tar.xz
nixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.tar.zst
nixpkgs-74e6e0547999dca07c5bfe4d3f244b2647950384.zip
apacheHttpd: add lynx binary path to apachectl
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/apache-httpd/2.4.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix
index c7bb6cfb6cd..b4b4cf49592 100644
--- a/pkgs/servers/http/apache-httpd/2.4.nix
+++ b/pkgs/servers/http/apache-httpd/2.4.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, perl, zlib, apr, aprutil, pcre, libiconv
+{ stdenv, fetchurl, perl, zlib, apr, aprutil, pcre, libiconv, lynx
 , proxySupport ? true
 , sslSupport ? true, openssl
 , http2Support ? true, nghttp2
@@ -38,6 +38,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|'
   '';
 
   # Required for ‘pthread_cancel’.