Skip to content

Commit

Permalink
nexusmods-app: use enableUnfree in name + description
Browse files Browse the repository at this point in the history
- Append `-unfree` to package name
- Append whether or not RAR format mods are supported to the description
  • Loading branch information
MattSturgeon committed Jun 21, 2024
1 parent f2ef402 commit 7071c20
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/by-name/ne/nexusmods-app/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let
_7zzWithOptionalUnfreeRarSupport = _7zz.override { inherit enableUnfree; };
in
buildDotnetModule rec {
pname = "nexusmods-app";
pname = "nexusmods-app" + lib.strings.optionalString enableUnfree "-unfree";

version = "0.4.1";

Expand Down Expand Up @@ -103,7 +103,10 @@ buildDotnetModule rec {
};

meta = {
description = "Game mod installer, creator and manager";
description =
"Game mod manager, "
+ (if enableUnfree then "includes" else "use the unfree version if you need")
+ " support for mods packaged in RAR files";
mainProgram = "NexusMods.App";
homepage = "https://github.com/Nexus-Mods/NexusMods.App";
changelog = "https://github.com/Nexus-Mods/NexusMods.App/releases/tag/${src.rev}";
Expand Down

0 comments on commit 7071c20

Please sign in to comment.