From 00da78070eb55a494f70395151415362686d4a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Wed, 11 Nov 2015 22:53:41 +0100 Subject: [PATCH] darwin: libdc1394: add missing darwin deps --- pkgs/development/libraries/libdc1394/default.nix | 7 +++++-- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libdc1394/default.nix b/pkgs/development/libraries/libdc1394/default.nix index 1d6b00abe539..c96a2b7f051a 100644 --- a/pkgs/development/libraries/libdc1394/default.nix +++ b/pkgs/development/libraries/libdc1394/default.nix @@ -1,4 +1,6 @@ -{ stdenv, fetchurl, libraw1394, libusb1 }: +{ stdenv, fetchurl, libraw1394, libusb1 +, CoreServices +}: stdenv.mkDerivation rec { name = "libdc1394-2.2.3"; @@ -9,7 +11,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ libusb1 ] - ++ stdenv.lib.optional stdenv.isLinux [ libraw1394 ]; + ++ stdenv.lib.optional stdenv.isLinux libraw1394 + ++ stdenv.lib.optional stdenv.isDarwin CoreServices; meta = { homepage = http://sourceforge.net/projects/libdc1394/; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dd12387c1cc6..eee8e528fbbd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6959,7 +6959,9 @@ let libdbusmenu_qt5 = callPackage ../development/libraries/libdbusmenu-qt/qt-5.4.nix { }; - libdc1394 = callPackage ../development/libraries/libdc1394 { }; + libdc1394 = callPackage ../development/libraries/libdc1394 { + inherit (darwin.apple_sdk.frameworks) CoreServices; + }; libdc1394avt = callPackage ../development/libraries/libdc1394avt { };