mpd: fix on darwin
This commit is contained in:
parent
2628ea4446
commit
b7fabd39b3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, systemd, boost
|
{ stdenv, fetchurl, pkgconfig, glib, systemd, boost, darwin
|
||||||
, alsaSupport ? true, alsaLib
|
, alsaSupport ? true, alsaLib
|
||||||
, flacSupport ? true, flac
|
, flacSupport ? true, flac
|
||||||
, vorbisSupport ? true, libvorbis
|
, vorbisSupport ? true, libvorbis
|
||||||
@ -42,6 +42,7 @@ in stdenv.mkDerivation rec {
|
|||||||
patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch;
|
patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch;
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib boost ]
|
buildInputs = [ pkgconfig glib boost ]
|
||||||
|
++ opt stdenv.isDarwin darwin.apple_sdk.frameworks.CoreAudioKit
|
||||||
++ opt stdenv.isLinux systemd
|
++ opt stdenv.isLinux systemd
|
||||||
++ opt (stdenv.isLinux && alsaSupport) alsaLib
|
++ opt (stdenv.isLinux && alsaSupport) alsaLib
|
||||||
++ opt flacSupport flac
|
++ opt flacSupport flac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user