anchor.diff:        "http://mirror.jmu.edu/pub/mariadb"
       ];
       hashOutput = false;
  -    insecureHashOutput = true;
  -    sha256 = "54d8114e24bfa5e3ebdc7d69e071ad1471912847ea481b227d204f9d644300bf";
  +    sha256 = "c385c76e40d6e5f0577eba021805da5f494a30c9ef51884baefe206d5658a2e5";
     };
   
     nativeBuildInputs = [
  
positive.code:     zlib
    ];
  
    patches = [
      (fetchTritonPatch {
        rev = "13ffc92151e03d6690dee7b37781e94312401a3b";
        file = "m/mariadb/openssl-1.1.0.patch";
        sha256 = "f337505ce421aea82693ab95372ce93fde3ea0351e0b6b78c26c9e1154df174c";
      })
    ];
  
    cmakeFlags = [
      "-DBUILD_CONFIG=mysql_release"
      "-DDEFAULT_CHARSET=utf8"
  
negative.code:   ];
  
    prePatch = ''
      sed -i 's,[^"]*/var/log,/var/log,g' \
        storage/mroonga/vendor/groonga/CMakeLists.txt
    '';
  
    postInstall = ''
      sed -i "s,basedir=\"\",basedir=\"$out\",g" \
        "$out"/bin/mysql_install_db
  
      # Remove superfluous files
      rm -r $out/mysql-test $out/sql-bench $out/data # Don't need testing data
      rm $out/share/man/man1/mysql-test-run.pl.1
      rm $out/bin/rcmysql # Not needed with nixos units
      find $out/bin -name \*test\* -exec rm {} \;
  
      # Fix the mysql_config
  