moonlight-qt: fix build on x86_64-darwin

error: no member named 'aligned_alloc' in the global namespace
This commit is contained in:
Zhong Jianxin 2024-11-22 23:24:12 +08:00
parent f58a54e64a
commit e4c8127a4f

View File

@ -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" ];