mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
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:
parent
5b970e91d2
commit
eb8cdd126e
1 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
cmake,
|
cmake,
|
||||||
cmark,
|
cmark,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
fetchpatch,
|
fetchpatch2,
|
||||||
gamemode,
|
gamemode,
|
||||||
ghc_filesystem,
|
ghc_filesystem,
|
||||||
jdk17,
|
jdk17,
|
||||||
|
@ -45,6 +45,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
ln -s ${libnbtplusplus} source/libraries/libnbtplusplus
|
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 = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue