anchor.diff:    preBuild = ''
       cp -r $deps deps
       chmod -R +w deps
  -    patchShebangs deps
  +    patchShebangs .
     '';
   
     postInstall = ''
  
positive.code:       -e 's,\(^ *CONNLOCKDIR=\).*,\1/var/lock/ejabberdctl,' \
        $out/sbin/ejabberdctl
      wrapProgram $out/lib/eimp-*/priv/bin/eimp --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libpng libjpeg libwebp ]}"
    '';
  
    meta = with lib; {
  
negative.code:     ++ lib.optional withSqlite sqlite
      ++ lib.optional withPam pam
      ++ lib.optional withZlib zlib
    ;
  
    deps = stdenv.mkDerivation {
      pname = "ejabberd-deps";
  