Unverified Commit b77b2550 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

karlyriceditor: fix build with Qt 6.10 (#510800)

parents 0c8123bf 603229d1
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  qt6,
  ffmpeg_4,
  pkg-config,
@@ -18,6 +19,15 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-eW5sO1gjuwIighnlylJQd9QC+07s1MZX/oPyaHIi/Qs=";
  };

  patches = [
    # fix build with Qt 6.10, remove after next release
    # https://github.com/gyunaev/karlyriceditor/pull/38
    (fetchpatch {
      url = "https://github.com/gyunaev/karlyriceditor/commit/1d5e095cc691d4239c919d78209bdd05e57ed2aa.patch";
      hash = "sha256-G93OfcQzgv8PhRQa8aUNsjaIt0GcGQxZGe4Eo0xP7TM=";
    })
  ];

  nativeBuildInputs = [
    qt6.wrapQtAppsHook
    qt6.qmake