anchor.diff:    ];
   
     postFixup = ''
  -    libmysqlclient=$(find "${mysql57}/lib" -name "libmysqlclient.so.*" | tail -n1)
  -    patchelf --add-needed "$libmysqlclient" "$out/bin/.cqrlog-wrapped"
  +    libmysqlclient=$(find "${mariadb.client}/lib" -name "libmysqlclient.so" | tail -n1)
  +    patchelf --add-needed "libmysqlclient.so" \
  +             --add-rpath "$(dirname "$libmysqlclient")" \
  +             "$out/bin/.cqrlog-wrapped"
     '';
   
     meta = with lib; {
  
positive.code:       --replace "/usr/bin/rigctld" "${hamlib}/bin/rigctld"
      # Order is important
      substituteInPlace src/dData.pas \
        --replace "/usr/bin/mysqld_safe" "${mysql57}/bin/mysqld_safe" \
        --replace "/usr/bin/mysqld" "${mysql57}/bin/mysqld"
  
      # To be fail when I need to patch a new hardcoded binary
      ! grep -C src -RC0 "/usr"
  
negative.code:   ];
    propagatedBuildInputs = [
      hamlib
      mariadb
      tqsl
      xdg-utils
      xplanet
  