Unverified Commit 0326dbe8 authored by rewine's avatar rewine Committed by GitHub
Browse files

Merge pull request #315831 from NixOS/backport-315626-to-release-24.05

[Backport release-24.05] punes-qt6: Fetch patch to fix Qt 6.7.1 compat
parents 68fafe98 847ff296
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, gitUpdater
, cmake
, pkg-config
@@ -27,6 +28,16 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-TIXjYkInWV3yVnvXrdHcmeWYeps5TcvkG2Xjg4roIds=";
  };

  patches = [
    # Fix FTBFS with Qt 6.7.1
    # Remove when https://github.com/punesemu/puNES/pull/403 merged & in release
    (fetchpatch {
      name = "0001-punes-Fix-compatibility-with-Qt-6.7.1.patch";
      url = "https://github.com/punesemu/puNES/commit/78c72d2dfcd570e7463a78da10904cebae6127f5.patch";
      hash = "sha256-xRalKIOb1qWgqJsFLcm7uUOblEfHDYbkukmcr4/+4Qc=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config