commit 6fde2bcef2f928a2a6cd767125d195b5d7ee70ec
parent 59bbd06ca94539eb0770b86a7630699ec766598a
Author: Luke Willis <lukejw@monastech.xyz>
Date:   Mon, 13 Apr 2026 18:03:15 -0400

games: Bundle openjdk@25 with prismlauncher

Diffstat:
Mmt/packages/games.scm | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mt/packages/games.scm b/mt/packages/games.scm @@ -113,13 +113,15 @@ out of the box. Intended to replace the bundled version."))) (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin/prismlauncher")) + (jdk25 (assoc-ref inputs "jdk25")) (jdk21 (assoc-ref inputs "jdk21")) (jdk17 (assoc-ref inputs "jdk17")) (qtwayland (assoc-ref inputs "qtwayland")) (qtsvg (assoc-ref inputs "qtsvg"))) (wrap-program bin ;; Add all the OpenJDK versions for Minecraft as needed - `("PRISMLAUNCHER_JAVA_PATHS" ":" suffix (,(string-append jdk21 "/bin/java") + `("PRISMLAUNCHER_JAVA_PATHS" ":" suffix (,(string-append jdk25 "/bin/java") + ,(string-append jdk21 "/bin/java") ,(string-append jdk17 "/bin/java"))) ;; Fix QT plugins (primarily for wayland support) `("QT_PLUGIN_PATH" ":" prefix ,(map (lambda (package) @@ -144,6 +146,7 @@ out of the box. Intended to replace the bundled version."))) ;; Java versions to include ("jdk17" ,openjdk17 "jdk") ("jdk21" ,openjdk21 "jdk") + ("jdk25" ,openjdk25 "jdk") ;; Runtime deps for MC itself ("glfw" ,glfw-mc) ("mesa" ,mesa)