prismlauncher-unwrapped: backport Qt 6.9 fix for darwin

This only affects darwin builds, but I decided to apply the backport
unconditionally as it's just a one-line change.

https://github.com/PrismLauncher/PrismLauncher/pull/3622
https://github.com/NixOS/nixpkgs/issues/400119

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2025-04-20 11:52:12 +02:00
parent 5b970e91d2
commit eb8cdd126e
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -5,7 +5,7 @@
cmake,
cmark,
extra-cmake-modules,
fetchpatch,
fetchpatch2,
gamemode,
ghc_filesystem,
jdk17,
@ -45,6 +45,16 @@ stdenv.mkDerivation (finalAttrs: {
ln -s ${libnbtplusplus} source/libraries/libnbtplusplus
'';
patches = [
# https://github.com/PrismLauncher/PrismLauncher/pull/3622
# https://github.com/NixOS/nixpkgs/issues/400119
(fetchpatch2 {
name = "fix-qt6.9-compatibility.patch";
url = "https://github.com/PrismLauncher/PrismLauncher/commit/8bb9b168fb996df9209e1e34be854235eda3d42a.diff";
hash = "sha256-hOqWBrUrVUhMir2cfc10gu1i8prdNxefTyr7lH6KA2c=";
})
];
nativeBuildInputs = [
cmake
ninja