polymc: Fix after update to 26.05

This commit is contained in:
Mateusz Słodkowicz 2026-06-09 17:28:58 +02:00
parent 5d933e0d79
commit 6b9c35b717
Signed by: materus
SSH Key Fingerprint: SHA256:rzVduzTiiszuYfLPYD0SDZV+g8lxhpcRgpbOZA1X0Uo

View File

@ -9,7 +9,7 @@
ghc_filesystem, ghc_filesystem,
zlib, zlib,
file, file,
wrapQtAppsHook, kdePackages,
xorg, xorg,
libpulseaudio, libpulseaudio,
openal, openal,
@ -27,7 +27,6 @@
addDriverRunpath, addDriverRunpath,
vulkan-loader, vulkan-loader,
msaClientID ? null, msaClientID ? null,
extra-cmake-modules,
qtcharts, qtcharts,
makeWrapper, makeWrapper,
gamemode, gamemode,
@ -65,7 +64,7 @@ let
gameLibraryPath = libpath + ":${addDriverRunpath.driverLink}/lib"; gameLibraryPath = libpath + ":${addDriverRunpath.driverLink}/lib";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "polymc" + (lib.optionalString ((lib.versions.major qtbase.version) == "5") "-qt5"); pname = "polymc";
version = "7.0"; version = "7.0";
patches = [ patches = [
# Fix for Qt >= 6.9.0 # Fix for Qt >= 6.9.0
@ -95,10 +94,10 @@ let
dontWrapQtApps = true; dontWrapQtApps = true;
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
extra-cmake-modules
ninja ninja
jdk jdk
wrapQtAppsHook kdePackages.extra-cmake-modules
kdePackages.wrapQtAppsHook
file file
ghc_filesystem ghc_filesystem
]; ];