From a7e7286d6e8977c62fdb6003515630dc02de6523 Mon Sep 17 00:00:00 2001 From: xeals Date: Fri, 25 Aug 2023 09:09:41 +1000 Subject: [PATCH] atlauncher: pin Java at 17 --- pkgs/unit/at/atlauncher/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/unit/at/atlauncher/package.nix b/pkgs/unit/at/atlauncher/package.nix index e6f22bd..8611cd7 100644 --- a/pkgs/unit/at/atlauncher/package.nix +++ b/pkgs/unit/at/atlauncher/package.nix @@ -2,7 +2,7 @@ , lib , fetchurl , makeWrapper -, jre +, jdk17 , udev , xorg }: @@ -23,7 +23,7 @@ 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"