diff options
author | Angus Trau <me@angus.ws> | 2021-07-31 21:39:12 +1000 |
---|---|---|
committer | Angus Trau <me@angus.ws> | 2021-08-01 12:51:26 +1000 |
commit | 6395aaba171b8be4d0c67f6e843051b834ccf0f0 (patch) | |
tree | c2a7dd58b285d7cc7742a1eb6b89d298317318df /pkgs/os-specific | |
parent | 48c1a0b4e684f68dd77d5b11ae6fd2213bcc354c (diff) |
darwin.apple_sdk.frameworks.AVFoundation: Add missing dependencies
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/darwin/apple-sdk-11.0/apple_sdk.nix | 9 | ||||
-rw-r--r-- | pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/apple-sdk-11.0/apple_sdk.nix b/pkgs/os-specific/darwin/apple-sdk-11.0/apple_sdk.nix index 6e987c5dfb41c..228a084d250fb 100644 --- a/pkgs/os-specific/darwin/apple-sdk-11.0/apple_sdk.nix +++ b/pkgs/os-specific/darwin/apple-sdk-11.0/apple_sdk.nix @@ -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: { diff --git a/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix b/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix index c8f8ccc4a0813..96c0475c087ec 100644 --- a/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix +++ b/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix @@ -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 = {}; |