anchor.diff:      ++ optional (!webuiSupport) "--disable-webui"
       ++ optional debugSupport "--enable-debug";
   
  +  postInstall = "wrapProgram $out/bin/${
  +    if guiSupport
  +    then "qbittorrent"
  +    else "qbittorrent-nox"
  +  } --prefix PATH : ${makeBinPath [ python3 ]}";
  +
     enableParallelBuilding = true;
   
     meta = {
  
positive.code: { mkDerivation, lib, fetchFromGitHub, pkgconfig
  , boost, libtorrentRasterbar, qtbase, qttools, qtsvg
  , debugSupport ? false
  , guiSupport ? true, dbus ? null # GUI OR headless
  , webuiSupport ? true # WebUI
  }:
  
  assert guiSupport -> (dbus != null);
  
  with lib;
  mkDerivation rec {
  
negative.code:     sha256 = "17ih00q7idrpl3b2vgh4smva6lazs5jw06pblriscn1lrwdvrc38";
    };
  
    nativeBuildInputs = [ makeWrapper pkgconfig ];
  
    buildInputs = [ boost libtorrentRasterbar qtbase qttools qtsvg ]
      ++ optional guiSupport dbus # D(esktop)-Bus depends on GUI support
      ++ optional trackerSearch python3;
  
    # Otherwise qm_gen.pri assumes lrelease-qt5, which does not exist.
    QMAKE_LRELEASE = "lrelease";
  