Compare commits
2 Commits
f407a90461
...
9aace44d90
Author | SHA1 | Date | |
---|---|---|---|
9aace44d90 | |||
a7e7286d6e |
@ -2,7 +2,7 @@
|
||||
, lib
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, jre
|
||||
, jdk17
|
||||
, udev
|
||||
, xorg
|
||||
}:
|
||||
@ -23,10 +23,11 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/java
|
||||
cp $src $out/share/java/ATLauncher.jar
|
||||
makeWrapper ${jre}/bin/java $out/bin/atlauncher \
|
||||
makeWrapper ${jdk17}/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"
|
||||
--add-flags "--working-dir \''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher" \
|
||||
--add-flags "--no-launcher-update"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user