summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorBenjamin Staffin <bstaffin@fitbit.com>2016-01-03 15:49:09 -0800
committerBenjamin Staffin <bstaffin@fitbit.com>2016-01-03 15:49:09 -0800
commit9f3889a9a5a78bf373a09c8444ecc408745a71ea (patch)
tree4ef067f8c969340da6d24afaa71e0b716ae53001 /pkgs/applications/audio
parent52f2d9ffc8398963ca1cd7eb6c04e961defb2672 (diff)
downloadnixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.tar
nixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.tar.gz
nixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.tar.bz2
nixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.tar.lz
nixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.tar.xz
nixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.tar.zst
nixpkgs-9f3889a9a5a78bf373a09c8444ecc408745a71ea.zip
cdparanoia: fix Darwin build
Fixes #12116
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/cdparanoia/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/audio/cdparanoia/default.nix b/pkgs/applications/audio/cdparanoia/default.nix
index 25cc33d6cb8..1658d9c7449 100644
--- a/pkgs/applications/audio/cdparanoia/default.nix
+++ b/pkgs/applications/audio/cdparanoia/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, IOKit, Carbon }:
 
 stdenv.mkDerivation rec {
   name = "cdparanoia-III-10.2";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
 
   preConfigure = "unset CC";
 
-  patches = stdenv.lib.optionals stdenv.isDarwin [ 
+  patches = stdenv.lib.optionals stdenv.isDarwin [
     (fetchurl {
       url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch";
       sha1 = "c86e573f51e6d58d5f349b22802a7a7eeece9fcd";
@@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
     })
   ];
 
+  buildInputs = stdenv.lib.optional stdenv.isDarwin [
+    Carbon
+    IOKit
+  ];
+
   meta = {
     homepage = http://xiph.org/paranoia;
     description = "A tool and library for reading digital audio from CDs";