Skip to content

Commit

Permalink
atlauncher: make binary name static
Browse files Browse the repository at this point in the history
Align this name with meta.mainProgram as that points to the main binary of a
package. Overriding the pname should not break this.
  • Loading branch information
GetPsyched committed Jan 3, 2024
1 parent 984f5cb commit eb97e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/at/atlauncher/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
mkdir -p $out/bin $out/share/java
cp $src $out/share/java/ATLauncher.jar
makeWrapper ${jre}/bin/java $out/bin/${finalAttrs.pname} \
makeWrapper ${jre}/bin/java $out/bin/atlauncher \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ xorg.libXxf86vm udev ]}" \
--add-flags "-jar $out/share/java/ATLauncher.jar" \
--add-flags "--working-dir \"\''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher\"" \
Expand Down

0 comments on commit eb97e9f

Please sign in to comment.