diff --git a/pkgs/development/libraries/ffmpeg-full/default.nix b/pkgs/development/libraries/ffmpeg-full/default.nix index 654741283f95..a7d081c565dd 100644 --- a/pkgs/development/libraries/ffmpeg-full/default.nix +++ b/pkgs/development/libraries/ffmpeg-full/default.nix @@ -138,6 +138,10 @@ , optimizationsDeveloper ? true , extraWarningsDeveloper ? false , strippingDeveloper ? false +/* + * Darwin frameworks + */ +, Cocoa, CoreServices }: /* Maintainer notes: @@ -405,7 +409,8 @@ stdenv.mkDerivation rec { ++ optionals x11grabExtlib [ libXext libXfixes ] ++ optionals nonfreeLicensing [ faac fdk_aac openssl ] ++ optional ((isLinux || isFreeBSD) && libva != null) libva - ++ optionals isLinux [ alsaLib libraw1394 libv4l ]; + ++ optionals isLinux [ alsaLib libraw1394 libv4l ] + ++ optionals stdenv.isDarwin [ Cocoa CoreServices ]; # Build qt-faststart executable buildPhase = optional qtFaststartProgram ''make tools/qt-faststart''; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1545405af9f0..3005bca8844f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6256,18 +6256,16 @@ let # The following need to be fixed on Darwin frei0r = if stdenv.isDarwin then null else frei0r; game-music-emu = if stdenv.isDarwin then null else game-music-emu; - gsm = if stdenv.isDarwin then null else gsm; libjack2 = if stdenv.isDarwin then null else libjack2; libmodplug = if stdenv.isDarwin then null else libmodplug; - libssh = if stdenv.isDarwin then null else libssh; libvpx = if stdenv.isDarwin then null else libvpx; openal = if stdenv.isDarwin then null else openal; - openjpeg_1 = if stdenv.isDarwin then null else openjpeg_1; libpulseaudio = if stdenv.isDarwin then null else libpulseaudio; samba = if stdenv.isDarwin then null else samba; vid-stab = if stdenv.isDarwin then null else vid-stab; x265 = if stdenv.isDarwin then null else x265; xavs = if stdenv.isDarwin then null else xavs; + inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices; }; ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };