darwin: libsndfile: add missing darwin deps

+8 -3
+5 -2
pkgs/development/libraries/libsndfile/default.nix
··· 1 - { stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig }: 2 3 stdenv.mkDerivation rec { 4 name = "libsndfile-1.0.25"; ··· 8 sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar"; 9 }; 10 11 - buildInputs = [ pkgconfig flac libogg libvorbis ]; 12 13 # need headers from the Carbon.framework in /System/Library/Frameworks to 14 # compile this on darwin -- not sure how to handle
··· 1 + { stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig 2 + , Carbon 3 + }: 4 5 stdenv.mkDerivation rec { 6 name = "libsndfile-1.0.25"; ··· 10 sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar"; 11 }; 12 13 + buildInputs = [ pkgconfig flac libogg libvorbis ] 14 + ++ stdenv.lib.optional stdenv.isDarwin Carbon; 15 16 # need headers from the Carbon.framework in /System/Library/Frameworks to 17 # compile this on darwin -- not sure how to handle
+3 -1
pkgs/top-level/all-packages.nix
··· 7433 # To bootstrap SBCL, I need CLisp 2.44.1; it needs libsigsegv 2.5 7434 libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { }; 7435 7436 - libsndfile = callPackage ../development/libraries/libsndfile { }; 7437 7438 libsodium = callPackage ../development/libraries/libsodium { }; 7439
··· 7433 # To bootstrap SBCL, I need CLisp 2.44.1; it needs libsigsegv 2.5 7434 libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { }; 7435 7436 + libsndfile = callPackage ../development/libraries/libsndfile { 7437 + inherit (darwin.apple_sdk.frameworks) Carbon; 7438 + }; 7439 7440 libsodium = callPackage ../development/libraries/libsodium { }; 7441