anchor.diff:      ++ lib.optionals (stdenv.isLinux) [ systemd pam libcap inotify-tools ]
       ++ lib.optional withMySQL libmysqlclient
       ++ lib.optional withPgSQL postgresql
  -    ++ lib.optional withSQLite sqlite;
  +    ++ lib.optional withSQLite sqlite
  +    ++ lib.optional withLua lua5_3;
   
     src = fetchurl {
       url = "https://dovecot.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz";
  
positive.code: , withMySQL ? false, libmysqlclient
  , withPgSQL ? false, postgresql
  , withSQLite ? true, sqlite
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:     ++ lib.optional (stdenv.isDarwin) "--enable-static"
      ++ lib.optional withMySQL "--with-mysql"
      ++ lib.optional withPgSQL "--with-pgsql"
      ++ lib.optional withSQLite "--with-sqlite"
      ++ lib.optional withLua "--with-lua";
  
    meta = {
      homepage = "https://dovecot.org/";
  