diff --git a/pkgs/by-name/ch/chiaki-ng/package.nix b/pkgs/by-name/ch/chiaki-ng/package.nix index 1545b1a40148..8c38f73641da 100644 --- a/pkgs/by-name/ch/chiaki-ng/package.nix +++ b/pkgs/by-name/ch/chiaki-ng/package.nix @@ -1,6 +1,7 @@ { 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