Compare commits

..

No commits in common. "9aace44d903c59ad8fb2eebefbe9077a949ada71" and "f407a904617ed37a67f614cb72a7e877ef9f217e" have entirely different histories.

View File

@ -2,7 +2,7 @@
, lib , lib
, fetchurl , fetchurl
, makeWrapper , makeWrapper
, jdk17 , jre
, udev , udev
, xorg , xorg
}: }:
@ -23,11 +23,10 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/share/java mkdir -p $out/bin $out/share/java
cp $src $out/share/java/ATLauncher.jar cp $src $out/share/java/ATLauncher.jar
makeWrapper ${jdk17}/bin/java $out/bin/atlauncher \ makeWrapper ${jre}/bin/java $out/bin/atlauncher \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ xorg.libXxf86vm udev ]}" \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ xorg.libXxf86vm udev ]}" \
--add-flags "-jar $out/share/java/ATLauncher.jar" \ --add-flags "-jar $out/share/java/ATLauncher.jar" \
--add-flags "--working-dir \''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher" \ --add-flags "--working-dir \''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher"
--add-flags "--no-launcher-update"
''; '';
meta = { meta = {