Skip to content

Commit

Permalink
nexusmods-app: use buildInputs for dependencies
Browse files Browse the repository at this point in the history
Instead of manually crafting a PATH in the wrapper.
  • Loading branch information
MattSturgeon committed Aug 21, 2024
1 parent b7923f8 commit 76765f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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,12 @@ 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
# Make associating with nxm links work on Linux
"--set APPIMAGE ${placeholder "out"}/bin/${meta.mainProgram}"
];

buildInputs = [ desktop-file-utils ];

runtimeDeps = [
fontconfig
libICE
Expand Down

0 comments on commit 76765f7

Please sign in to comment.