@@ -1,4 +1,6 @@
1−{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig }:
1+{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig
2+, Carbon
3+}:
24
35stdenv.mkDerivation rec {
46 name = "libsndfile-1.0.25";
@@ -8,7 +10,8 @@ stdenv.mkDerivation rec {
810 sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar";
911 };
1012
11− buildInputs = [ pkgconfig flac libogg libvorbis ];
13+ buildInputs = [ pkgconfig flac libogg libvorbis ]
14+ ++ stdenv.lib.optional stdenv.isDarwin Carbon;
1215
1316 # need headers from the Carbon.framework in /System/Library/Frameworks to
1417 # compile this on darwin -- not sure how to handle