anchor.diff:    cfg = config.services.mysql;
   
     mysql = cfg.package;
  -  
  -  isMariaDB = 
  +
  +  isMariaDB =
       let
         pName = _p: (builtins.parseDrvName (_p.name)).name;
       in pName mysql == pName pkgs.mariadb;
  -
  -  atLeast55 = versionAtLeast mysql.mysqlVersion "5.5";
   
     pidFile = "${cfg.pidDir}/mysqld.pid";
   
  
positive.code:                     ) | ${mysql}/bin/mysql -u root -N
                    ''}
  
                  ${optionalString (cfg.replication.role == "slave" && atLeast55)
                    ''
                      # Set up the replication slave
  
  
negative.code:                     fi
                    '') cfg.initialDatabases}
  
                  ${optionalString (cfg.replication.role == "master")
                    ''
                      # Set up the replication master
  
  