git.iko.soy/typeable/nixpkgs
on master help sign in
darwin: libsndfile: add missing darwin deps
commiteed349522f7d6440da04da4996d407f06c019fb4 authorStéphane Jourdois <sjourdois@gmail.com> dateWed 11 Nov 2015, 22:55 (11 years ago) parent00da780
2 files changed+8−3
pkgs/development/libraries/libsndfile/default.nix+5−2 pkgs/top-level/all-packages.nix+3−1
pkgs/development/libraries/libsndfile/default.nix+5−2
@@ -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
pkgs/top-level/all-packages.nix+3−1
@@ -7433,7 +7433,9 @@ let
74337433 # To bootstrap SBCL, I need CLisp 2.44.1; it needs libsigsegv 2.5
74347434 libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { };
74357435
7436− libsndfile = callPackage ../development/libraries/libsndfile { };
7436+ libsndfile = callPackage ../development/libraries/libsndfile {
7437+ inherit (darwin.apple_sdk.frameworks) Carbon;
7438+ };
74377439
74387440 libsodium = callPackage ../development/libraries/libsodium { };
74397441