diff options
author | Infinidoge <infinidoge@doge-inc.net> | 2022-12-19 01:24:18 -0500 |
---|---|---|
committer | Infinidoge <infinidoge@doge-inc.net> | 2022-12-19 01:40:49 -0500 |
commit | 3350d422445fab17d302caa912d909ad947e2849 (patch) | |
tree | 74f77dd7d5de7feaa714c991bd0e6b578872ca68 /pkgs/games/prismlauncher | |
parent | 1b33417f69610f1e9e9a031e412e6ddf24990375 (diff) |
prismlauncher: use jdk17 instead of jdk
Prism Launcher only officially supports jdk 17/18 for running newer versions of Minecraft, as they found that jdk 19 introduced a number of edge cases. This fixes an issue where the newer version of Java that the launcher proposes is incompatible with the launcher itself, leading to errors when running instances on newer versions of Minecraft.
Diffstat (limited to 'pkgs/games/prismlauncher')
-rw-r--r-- | pkgs/games/prismlauncher/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/prismlauncher/default.nix b/pkgs/games/prismlauncher/default.nix index 17fe569deb633..187ee544ab831 100644 --- a/pkgs/games/prismlauncher/default.nix +++ b/pkgs/games/prismlauncher/default.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , cmake , jdk8 -, jdk +, jdk17 , zlib , file , wrapQtAppsHook @@ -20,7 +20,7 @@ , tomlplusplus , ghc_filesystem , msaClientID ? "" -, jdks ? [ jdk jdk8 ] +, jdks ? [ jdk17 jdk8 ] }: let @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-Kwj1GvlT12jRcf84WMSnD4xkgGL3X9AVqdGDCxMmS4E="; }; - nativeBuildInputs = [ extra-cmake-modules cmake file jdk wrapQtAppsHook ]; + nativeBuildInputs = [ extra-cmake-modules cmake file jdk17 wrapQtAppsHook ]; buildInputs = [ qtbase qtsvg |