mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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.
This commit is contained in:
parent
1b33417f69
commit
3350d42244
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, jdk8
|
, jdk8
|
||||||
, jdk
|
, jdk17
|
||||||
, zlib
|
, zlib
|
||||||
, file
|
, file
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
@ -20,7 +20,7 @@
|
|||||||
, tomlplusplus
|
, tomlplusplus
|
||||||
, ghc_filesystem
|
, ghc_filesystem
|
||||||
, msaClientID ? ""
|
, msaClientID ? ""
|
||||||
, jdks ? [ jdk jdk8 ]
|
, jdks ? [ jdk17 jdk8 ]
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-Kwj1GvlT12jRcf84WMSnD4xkgGL3X9AVqdGDCxMmS4E=";
|
sha256 = "sha256-Kwj1GvlT12jRcf84WMSnD4xkgGL3X9AVqdGDCxMmS4E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules cmake file jdk wrapQtAppsHook ];
|
nativeBuildInputs = [ extra-cmake-modules cmake file jdk17 wrapQtAppsHook ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg
|
qtsvg
|
||||||
|
Loading…
Reference in New Issue
Block a user