Skip to content

Commit

Permalink
{qbittorrent, qbirttorrent-nox}: add mainProgram (#322548)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 11, 2024
2 parents 04e3c70 + f724bee commit b57179d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/networking/p2p/qbittorrent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ Anton-Latukha kashw2 ];
mainProgram =
"qbittorrent"
+ lib.optionalString (!guiSupport) "-nox";
};
}

0 comments on commit b57179d

Please sign in to comment.