about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2016-09-13 18:02:20 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2016-09-13 18:05:07 +0200
commitb7fabd39b3f0ec30aead28af17a726e44ba9bb22 (patch)
tree2d5e222a29906ed8e9dacadbe02568a14f6812e2
parent2628ea4446a8abceb6576fa89f82621dfcca482a (diff)
downloadnixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.tar
nixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.tar.gz
nixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.tar.bz2
nixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.tar.lz
nixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.tar.xz
nixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.tar.zst
nixlib-b7fabd39b3f0ec30aead28af17a726e44ba9bb22.zip
mpd: fix on darwin
-rw-r--r--pkgs/servers/mpd/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix
index e273bd110e2c..4b26b92cdb29 100644
--- a/pkgs/servers/mpd/default.nix
+++ b/pkgs/servers/mpd/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, glib, systemd, boost
+{ stdenv, fetchurl, pkgconfig, glib, systemd, boost, darwin
 , alsaSupport ? true, alsaLib
 , flacSupport ? true, flac
 , vorbisSupport ? true, libvorbis
@@ -42,6 +42,7 @@ in stdenv.mkDerivation rec {
   patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch;
 
   buildInputs = [ pkgconfig glib boost ]
+    ++ opt stdenv.isDarwin darwin.apple_sdk.frameworks.CoreAudioKit
     ++ opt stdenv.isLinux systemd
     ++ opt (stdenv.isLinux && alsaSupport) alsaLib
     ++ opt flacSupport flac