summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorAngus Trau <me@angus.ws>2021-07-31 21:39:12 +1000
committerAngus Trau <me@angus.ws>2021-08-01 12:51:26 +1000
commit6395aaba171b8be4d0c67f6e843051b834ccf0f0 (patch)
treec2a7dd58b285d7cc7742a1eb6b89d298317318df /pkgs/os-specific
parent48c1a0b4e684f68dd77d5b11ae6fd2213bcc354c (diff)
downloadnixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.tar
nixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.tar.gz
nixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.tar.bz2
nixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.tar.lz
nixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.tar.xz
nixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.tar.zst
nixpkgs-6395aaba171b8be4d0c67f6e843051b834ccf0f0.zip
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.nix9
-rw-r--r--pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix2
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 6e987c5dfb4..228a084d250 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 c8f8ccc4a08..96c0475c087 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                    = {};