anchor.diff:      makeQtWrapper $out/mudlet $out/bin/mudlet \
         --set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
         --prefix LUA_PATH : "$NIX_LUA_PATH" \
  -      --prefix LD_LIBRARY_PATH : "${libsForQt5.qtkeychain}/lib/" \
  +      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libsForQt5.qtkeychain discord-rpc ]}" \
         --chdir "$out";
   
       runHook postInstall
  
positive.code: , pugixml
  , qtbase
  , qtmultimedia
  , yajl
  }:
  
  let
    luaEnv = lua.withPackages(ps: with ps; [
      luazip luafilesystem lrexlib-pcre luasql-sqlite3 lua-yajl luautf8
    ]);
  in
  stdenv.mkDerivation rec {
    pname = "mudlet";
    version = "4.15.1";
  
    src = fetchFromGitHub {
      owner = "Mudlet";
      repo = "Mudlet";
      rev = "Mudlet-${version}";
      fetchSubmodules = true;
      hash = "sha256-GnTQc0Jh4YaQnfy7fYsTCACczlzWCQ+auKYoU9ET83M=";
    };
  
    nativeBuildInputs = [
  
negative.code:   WITH_FONTS = "NO";
    WITH_UPDATER = "NO";
  
    installPhase = ''
      runHook preInstall
  
      mkdir -pv $out/lib
  