mpd: fix on darwin
This commit is contained in:
parent
2628ea4446
commit
b7fabd39b3
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue