Unverified Commit a00e7672 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

prismlauncher-unwrapped: backport Qt 6.9 fix for darwin (#400306)

parents 6a458ffb eb8cdd12
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -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