anchor.diff:      sed -i 's/-mariadb/-mysql/' "$out"/bin/galera_new_cluster
     '';
   
  +  # perlPackages.DBDmysql is broken on darwin
  +  postFixup = optionalString (!stdenv.isDarwin) ''
  +    wrapProgram $out/bin/mytop --set PATH ${less}/bin/less
  +  '';
  +
     CXXFLAGS = optionalString stdenv.isi686 "-fpermissive";
   });
   
  
positive.code: let # in mariadb # spans the whole file
  
  libExt = stdenv.hostPlatform.extensions.sharedLibrary;
  
  mariadb = everything // {
    inherit client; # libmysqlclient.so in .out, necessary headers in .dev and utils in .bin
  
negative.code: 
    outputs = [ "out" "dev" "man" ];
  
    nativeBuildInputs = common.nativeBuildInputs ++ [ bison ] ++ optional (!stdenv.isDarwin) makeWrapper;
  
    buildInputs = common.buildInputs ++ [
      xz lzo lz4 bzip2 snappy
      libxml2 boost judy libevent cracklib
    ] ++ optional (stdenv.isLinux && !stdenv.isAarch32) numactl
      ++ optional (!stdenv.isDarwin) mytopEnv;
  
    cmakeFlags = common.cmakeFlags ++ [
      "-DMYSQL_DATADIR=/var/lib/mysql"
  