Skip to content

Commit

Permalink
nexusmods-app: define runtimeInputs
Browse files Browse the repository at this point in the history
Allow overriding what is added to the PATH in the wrapper.
  • Loading branch information
MattSturgeon committed Aug 22, 2024
1 parent 3745efe commit cbf9b27
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 @@ -54,10 +54,13 @@ buildDotnetModule rec {
'';

makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ desktop-file-utils ]}"
"--set APPIMAGE ${placeholder "out"}/bin/${meta.mainProgram}" # Make associating with nxm links work on Linux
"--prefix PATH : ${lib.makeBinPath runtimeInputs}"
# Make associating with nxm links work on Linux
"--set APPIMAGE ${placeholder "out"}/bin/${meta.mainProgram}"
];

runtimeInputs = [ desktop-file-utils ];

runtimeDeps = [
fontconfig
libICE
Expand Down

0 comments on commit cbf9b27

Please sign in to comment.