[Backport release-24.11] moonlight-qt: fix build on x86_64-darwin (#358413)

This commit is contained in:
Nick Cao 2024-11-23 10:47:56 -05:00 committed by GitHub
commit 4b6dad8c42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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