Skip to content

Commit

Permalink
nexusmods-app: add long description
Browse files Browse the repository at this point in the history
Add a long description that documents whether or not RAR archive mods
are supported.
  • Loading branch information
MattSturgeon committed Jul 31, 2024
1 parent 9f2d374 commit 8b35bbb
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion pkgs/by-name/ne/nexusmods-app/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ buildDotnetModule rec {
};

meta = {
description = "Game mod installer, creator and manager";
mainProgram = "NexusMods.App";
homepage = "https://github.com/Nexus-Mods/NexusMods.App";
changelog = "https://github.com/Nexus-Mods/NexusMods.App/releases/tag/${src.rev}";
Expand All @@ -122,5 +121,31 @@ buildDotnetModule rec {
MattSturgeon
];
platforms = lib.platforms.linux;
description = "Game mod installer, creator and manager";
longDescription = ''
${meta.description}.
${
if _7zz.meta.unfree then
''
This "unfree" variant includes support for mods packaged as RAR archives.
''
else
''
It is strongly recommended that you use the "unfree" variant of this package,
which provides support for mods packaged as RAR archives.
You can also enable unrar support manually, by overriding the `_7zz` used:
```nix
pkgs.nexusmods-app.override {
_7zz = pkgs._7zz.override {
enableUnfree = true;
};
}
```
''
}
'';
};
}

0 comments on commit 8b35bbb

Please sign in to comment.