Unverified Commit 66dd5aa3 authored by Morgan Helton's avatar Morgan Helton
Browse files

chiaki-ng: add workaround for Qt 6.10

parent 41da4e29
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  stdenv,
  cmake,
  pkg-config,
@@ -41,6 +42,14 @@ stdenv.mkDerivation (finalAttrs: {
    fetchSubmodules = true;
  };

  patches = [
    # fix for building with Qt >= 6.10 -- remove when updating past 1.9.9
    (fetchpatch {
      url = "https://github.com/streetpea/chiaki-ng/commit/fe5bfd87998c7ca67ade76436e31ab9924000c8b.patch";
      hash = "sha256-7Eo5tcmhgbQszBrgtTGrnH34GewJXXAYSKqvqGN/viI=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config