anchor.diff:        ++ optional (!cgiSupport) "--disable-cgi"
         ++ optional (!cliSupport) "--disable-cli"
         ++ optional (!pharSupport) "--disable-phar"
  -      ++ optional xmlrpcSupport "--with-xmlrpc";
  +      ++ optional xmlrpcSupport "--with-xmlrpc"
  +      ++ optional cgotoSupport "--enable-re2c-cgoto"
  +      ++ optional valgrindSupport "--with-valgrind=${valgrind.dev}"
  +      ++ optional valgrindPcreSupport "--with-pcre-valgrind";
   
         hardeningDisable = [ "bindnow" ];
   
  
positive.code:   , sodiumSupport ? (config.php.sodium or true) && (versionAtLeast version "7.2")
    , tidySupport ? (config.php.tidy or false)
    , argon2Support ? (config.php.argon2 or true) && (versionAtLeast version "7.2")
    , libzipSupport ? (config.php.libzip or true) && (versionAtLeast version "7.3")
    , phpdbgSupport ? config.php.phpdbg or true
    , cgiSupport ? config.php.cgi or true
    , cliSupport ? config.php.cli or true
    , pharSupport ? config.php.phar or true
    , xmlrpcSupport ? (config.php.xmlrpc or false) && (libxml2Support)
    }:
  
      let
  
negative.code: , mysql, libxml2, readline, zlib, curl, postgresql, gettext
  , openssl, pcre, pcre2, pkgconfig, sqlite, config, libjpeg, libpng, freetype
  , libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, unixODBC
  , uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, html-tidy, libargon2
  , libzip, re2c, valgrind
  }:
  
  with lib;
  