mediaelch: add patch to fix build with qt 6.5

Reference: https://github.com/Komet/MediaElch/issues/1557
This commit is contained in:
Nick Cao 2023-04-16 22:18:58 +08:00
parent d0565d403e
commit 19f2603c1c
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qttools
@ -33,6 +34,15 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [
# https://github.com/Komet/MediaElch/issues/1557
# build: Fix build issue with Qt 6.5 on macOS (also other platforms)
(fetchpatch {
url = "https://github.com/Komet/MediaElch/commit/872b21decf95d70073400bedbe1ad183a8267791.patch";
hash = "sha256-D1Ui5xg5cpvNX4IHfXQ7wN9I7Y3SuPFOWxWidcAlLEA=";
})
];
nativeBuildInputs = [
cmake
qttools