anchor.diff:  
         buildInputs = [ flex bison pkgconfig ];
   
  -      configureFlags = ["EXTENSION_DIR=$(out)/lib/php/extensions"];
  +      configureFlags = [
  +        "EXTENSION_DIR=$(out)/lib/php/extensions"
  +        "--with-iconv=${libiconv}"
  +      ];
   
         flags = {
   
  
positive.code:       };
  
        cfg = {
          imapSupport = config.php.imap or true;
          ldapSupport = config.php.ldap or true;
          mhashSupport = config.php.mhash or true;
          mysqlSupport = (!php7) && (config.php.mysql or true);
          mysqliSupport = config.php.mysqli or true;
          pdo_mysqlSupport = config.php.pdo_mysql or true;
          libxml2Support = config.php.libxml2 or true;
          apxs2Support = config.php.apxs2 or true;
          bcmathSupport = config.php.bcmath or true;
          socketsSupport = config.php.sockets or true;
          curlSupport = config.php.curl or true;
  
negative.code: , mysql, libxml2, readline, zlib, curl, postgresql, gettext
  , openssl, pkgconfig, sqlite, config, libjpeg, libpng, freetype
  , libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds
  , uwimap, pam, gmp, apacheHttpd, libiconv }:
  
  let
  
  