anchor.diff:      "-DINSTALL_MYSQLSHAREDIR=share/mysql"
       "-DINSTALL_DOCDIR=share/mysql/docs"
       "-DINSTALL_SHAREDIR=share/mysql"
  +    "-DINSTALL_MYSQLTESTDIR="
  +    "-DINSTALL_SQLBENCHDIR="
     ];
   
     NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; # since gcc-7
  
positive.code:   '';
    postInstall = ''
      sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
      rm -r $out/mysql-test $out/sql-bench $out/data "$out"/lib/*.a
      rm $out/share/man/man1/mysql-test-run.pl.1
    '';
  
    passthru = {
  
negative.code: let
  self = stdenv.mkDerivation rec {
    name = "mysql-${version}";
    version = "5.5.60";
  
    src = fetchurl {
      url = "mirror://mysql/MySQL-5.5/${name}.tar.gz";
      sha256 = "071xaamqkbscybqzm79gf2w3bkr9lqlzwafis3gzc8w8fkhi4hd3";
    };
  
    patches = if stdenv.isCygwin then [
  