From e4c8127a4f91407dcdd89ffc6f59925441b5e8ce Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Fri, 22 Nov 2024 23:24:12 +0800 Subject: [PATCH] moonlight-qt: fix build on x86_64-darwin error: no member named 'aligned_alloc' in the global namespace --- pkgs/by-name/mo/moonlight-qt/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/mo/moonlight-qt/package.nix b/pkgs/by-name/mo/moonlight-qt/package.nix index dc57ce4678f5..323f79d0160c 100644 --- a/pkgs/by-name/mo/moonlight-qt/package.nix +++ b/pkgs/by-name/mo/moonlight-qt/package.nix @@ -19,6 +19,7 @@ libxkbcommon, wayland, libdrm, + apple-sdk_11, nix-update-script, }: @@ -69,6 +70,9 @@ stdenv.mkDerivation (finalAttrs: { qt6.qtwayland wayland libdrm + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + apple-sdk_11 ]; qmakeFlags = [ "CONFIG+=disable-prebuilts" ];