anchor.diff:  let
   self = stdenv.mkDerivation rec {
     name = "mysql-${version}";
  -  version = "5.7.20";
  +  version = "5.7.22";
   
     src = fetchurl {
       url = "mirror://mysql/MySQL-5.7/${name}.tar.gz";
  -    sha256 = "11v4g3igigv3zvknv67qml8in6fjrbs2vnr3q6bg6f62nydm95sk";
  +    sha256 = "1wng15j5caz6fsv28avlcxjgq3c5n90ifk79xa0h7jws19dl1f2f";
     };
   
     preConfigure = stdenv.lib.optional stdenv.isDarwin ''
  
positive.code:     "-DINSTALL_DOCREADMEDIR=share/mysql"
      "-DINSTALL_SUPPORTFILESDIR=share/mysql"
      "-DINSTALL_MYSQLSHAREDIR=share/mysql"
      "-DINSTALL_DOCDIR=share/mysql/docs"
      "-DINSTALL_SHAREDIR=share/mysql"
    ];
  
negative.code:   outputs = [ "out" "static" ];
  
    cmakeFlags = [
      "-DCMAKE_SKIP_BUILD_RPATH=OFF" # To run libmysql/libmysql_api_test during build.
      "-DWITH_SSL=yes"
      "-DWITH_EMBEDDED_SERVER=yes"
      "-DWITH_UNIT_TESTS=no"
      "-DWITH_ZLIB=yes"
      "-DWITH_ARCHIVE_STORAGE_ENGINE=yes"
      "-DWITH_BLACKHOLE_STORAGE_ENGINE=yes"
      "-DWITH_FEDERATED_STORAGE_ENGINE=yes"
      "-DHAVE_IPV6=yes"
      "-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
      "-DMYSQL_DATADIR=/var/lib/mysql"
  