···1-{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig }:
0023stdenv.mkDerivation rec {
4 name = "libsndfile-1.0.25";
···8 sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar";
9 };
1011- buildInputs = [ pkgconfig flac libogg libvorbis ];
01213 # 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+}:
45stdenv.mkDerivation rec {
6 name = "libsndfile-1.0.25";
···10 sha256 = "10j8mbb65xkyl0kfy0hpzpmrp0jkr12c7mfycqipxgka6ayns0ar";
11 };
1213+ buildInputs = [ pkgconfig flac libogg libvorbis ]
14+ ++ stdenv.lib.optional stdenv.isDarwin Carbon;
1516 # 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 { };
74357436- libsndfile = callPackage ../development/libraries/libsndfile { };
0074377438 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 { };
74357436+ libsndfile = callPackage ../development/libraries/libsndfile {
7437+ inherit (darwin.apple_sdk.frameworks) Carbon;
7438+ };
74397440 libsodium = callPackage ../development/libraries/libsodium { };
7441