anchor.diff:      export PATH=$PATH:$TMPDIR
     '';
   
  -  buildInputs = [ cmake bison ncurses openssl readline zlib boost ]
  +  nativeBuildInputs = [ cmake bison ];
  +
  +  buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib ]
        ++ stdenv.lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ];
   
     enableParallelBuilding = true;
  
positive.code:     "-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"
  
negative.code: { stdenv, fetchurl, cmake, bison
  , boost, libedit, libevent, lz4, ncurses, openssl, protobuf, readline, zlib, perl
  , cctools, CoreServices, developer_cmds }:
  
  # Note: zlib is not required; MySQL can use an internal zlib.
  
  