about summary refs log tree commit diff
path: root/pkgs/development/libraries/libsndfile
diff options
context:
space:
mode:
authorStéphane Jourdois <sjourdois@gmail.com>2015-11-11 22:55:44 +0100
committerStéphane Jourdois <sjourdois@gmail.com>2015-11-11 23:00:10 +0100
commiteed349522f7d6440da04da4996d407f06c019fb4 (patch)
tree60a72a3251ab71aec87faadc536724ca40266ee6 /pkgs/development/libraries/libsndfile
parent00da78070eb55a494f70395151415362686d4a24 (diff)
downloadnixlib-eed349522f7d6440da04da4996d407f06c019fb4.tar
nixlib-eed349522f7d6440da04da4996d407f06c019fb4.tar.gz
nixlib-eed349522f7d6440da04da4996d407f06c019fb4.tar.bz2
nixlib-eed349522f7d6440da04da4996d407f06c019fb4.tar.lz
nixlib-eed349522f7d6440da04da4996d407f06c019fb4.tar.xz
nixlib-eed349522f7d6440da04da4996d407f06c019fb4.tar.zst
nixlib-eed349522f7d6440da04da4996d407f06c019fb4.zip
darwin: libsndfile: add missing darwin deps
Diffstat (limited to 'pkgs/development/libraries/libsndfile')
-rw-r--r--pkgs/development/libraries/libsndfile/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libsndfile/default.nix b/pkgs/development/libraries/libsndfile/default.nix
index 1fac43fa2a97..48a2999e7af9 100644
--- a/pkgs/development/libraries/libsndfile/default.nix
+++ b/pkgs/development/libraries/libsndfile/default.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig }:
+{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig
+, Carbon
+}:
 
 stdenv.mkDerivation rec {
   name = "libsndfile-1.0.25";
@@ -8,7 +10,8 @@ stdenv.mkDerivation rec {
     sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar";
   };
 
-  buildInputs = [ pkgconfig flac libogg libvorbis ];
+  buildInputs = [ pkgconfig flac libogg libvorbis ]
+    ++ stdenv.lib.optional stdenv.isDarwin Carbon;
 
   # need headers from the Carbon.framework in /System/Library/Frameworks to
   # compile this on darwin -- not sure how to handle