anchor.diff:      cmakeFlags="$cmakeFlags \
         -DINSTALL_SHAREDIR=$dev/share/mysql
         -DINSTALL_SUPPORTFILESDIR=$dev/share/mysql"
  +  '' + optionalString (!stdenv.isDarwin) ''
  +    patchShebangs scripts/mytop.sh
     '';
   
     postInstall = ''
  
positive.code:     sed -i 's/-mariadb/-mysql/' "$out"/bin/galera_new_cluster
    '';
  
    CXXFLAGS = optionalString stdenv.isi686 "-fpermissive";
  });
  
  
negative.code: { stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, makeWrapper, ncurses, zlib, xz, lzo, lz4, bzip2, snappy
  , libiconv, openssl, pcre, boost, judy, bison, libxml2, libkrb5
  , libaio, libevent, jemalloc, cracklib, systemd, numactl, perl
  , fixDarwinDylibNames, cctools, CoreServices
  , asio, buildEnv, check, scons
  , less
  }:
  
  with stdenv.lib;
  