summary refs log tree commit diff
path: root/pkgs/development/libraries/ffmpeg/generic.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-08-07 12:25:01 +0200
committerDaiderd Jordan <daiderd@gmail.com>2016-08-07 12:27:05 +0200
commit00b05d47d30fff2ca1925ec38078907b95c6cb69 (patch)
tree3d4215b8144923a47de3401eabbd38827d294604 /pkgs/development/libraries/ffmpeg/generic.nix
parentf7f8de64f49b14979efd2f6519f297dc5341d908 (diff)
downloadnixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.tar
nixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.tar.gz
nixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.tar.bz2
nixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.tar.lz
nixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.tar.xz
nixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.tar.zst
nixpkgs-00b05d47d30fff2ca1925ec38078907b95c6cb69.zip
ffmpeg: add extra darwin framework for 3.1
Diffstat (limited to 'pkgs/development/libraries/ffmpeg/generic.nix')
-rw-r--r--pkgs/development/libraries/ffmpeg/generic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix
index 0c4e9df3df1..33ee2f80a6e 100644
--- a/pkgs/development/libraries/ffmpeg/generic.nix
+++ b/pkgs/development/libraries/ffmpeg/generic.nix
@@ -13,7 +13,7 @@
 , optimizationsDeveloper ? true
 , extraWarningsDeveloper ? false
 # Darwin frameworks
-, Cocoa
+, Cocoa, darwinFrameworks ? [ Cocoa ]
 # Inherit generics
 , branch, sha256, version, patches ? [], ...
 }:
@@ -153,7 +153,7 @@ stdenv.mkDerivation rec {
     ++ optionals (!isDarwin && !isArm) [ libvpx libpulseaudio ] # Need to be fixed on Darwin and ARM
     ++ optional ((isLinux || isFreeBSD) && !isArm) libva
     ++ optional isLinux alsaLib
-    ++ optional isDarwin Cocoa
+    ++ optionals isDarwin darwinFrameworks
     ++ optional vdpauSupport libvdpau
     ++ optional sdlSupport SDL;