darwin.apple_sdk.frameworks.AVFoundation: Add missing dependencies

This commit is contained in:
Angus Trau 2021-07-31 21:39:12 +10:00
parent 48c1a0b4e6
commit 6395aaba17
2 changed files with 10 additions and 1 deletions

View File

@ -141,6 +141,15 @@ in rec {
cp -r ${MacOSX-SDK}/usr/include/libDER $out/include
'';
};
simd = stdenv.mkDerivation {
name = "apple-lib-simd";
dontUnpack = true;
installPhase = ''
mkdir -p $out/include
cp -r ${MacOSX-SDK}/usr/include/simd $out/include
'';
};
};
overrides = super: {

View File

@ -1,7 +1,7 @@
{ frameworks, libs, libobjc, Libsystem, libnetwork }: with frameworks; with libs;
{
AGL = { inherit Carbon OpenGL; };
AVFoundation = { inherit ApplicationServices AVFCapture AVFCore CoreGraphics; };
AVFoundation = { inherit ApplicationServices AVFCapture AVFCore CoreGraphics simd UniformTypeIdentifiers; };
AVKit = {};
Accelerate = { inherit CoreWLAN IOBluetooth; };
Accessibility = {};