anchor.diff:      url = "https://download.lighttpd.net/lighttpd/releases-1.4.x/${name}.tar.xz";
       sha256 = "02ff77cpvy1006cwfym38vf78xm18plyj636ll74r7kx2bblkpxf";
     };
  +
  +  postPatch = ''
  +    patchShebangs tests
  +  '';
   
     nativeBuildInputs = [ pkgconfig ];
     buildInputs = [ pcre libxml2 zlib attr bzip2 which file openssl ]
  
positive.code: , enableMysql ? false, mysql ? null
  , enableLdap ? false, openldap ? null
  , enableWebDAV ? true, sqlite ? null, libuuid ? null
  }:
  
  assert enableMagnet -> lua5_1 != null;
  
negative.code:     sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
    '';
  
    checkInputs = [ perl ];
    doCheck = false; # fails 2 tests
  
    postInstall = ''
      mkdir -p "$out/share/lighttpd/doc/config"
      cp -vr doc/config "$out/share/lighttpd/doc/"
  