anchor.diff:    outputs = [ "out" "dev" "man" "doc" ];
     setOutputFlags = false; # it would move $out/modules, etc.
   
  -  buildInputs = [perl] ++
  -    optional brotliSupport brotli ++
  -    optional sslSupport openssl ++
  -    optional ldapSupport openldap ++    # there is no --with-ldap flag
  -    optional libxml2Support libxml2 ++
  -    optional http2Support nghttp2 ++
  -    optional stdenv.isDarwin libiconv;
  +  buildInputs = [ perl ] ++
  +    lib.optional brotliSupport brotli ++
  +    lib.optional sslSupport openssl ++
  +    lib.optional ldapSupport openldap ++    # there is no --with-ldap flag
  +    lib.optional libxml2Support libxml2 ++
  +    lib.optional http2Support nghttp2 ++
  +    lib.optional stdenv.isDarwin libiconv;
   
  -  prePatch = ''
  +  postPatch = ''
       sed -i config.layout -e "s|installbuilddir:.*|installbuilddir: $dev/share/build|"
       sed -i support/apachectl.in -e 's|@LYNX_PATH@|${lynx}/bin/lynx|'
     '';
  
positive.code: 
    meta = with lib; {
      description = "Apache HTTPD, the world's most popular web server";
      homepage    = "http://httpd.apache.org/";
      license     = licenses.asl20;
      platforms   = lib.platforms.linux ++ lib.platforms.darwin;
      maintainers = with maintainers; [ lovek323 peti ];
    };
  }
  
negative.code: , brotliSupport ? true, brotli
  , luaSupport ? false, lua5
  }:
  
  stdenv.mkDerivation rec {
    pname = "apache-httpd";
  