libcdio: fix darwin build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan
2018-03-12 21:32:38 +01:00
parent 4ba61cd136
commit af041b34a2
2 changed files with 7 additions and 4 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libcddb, pkgconfig, ncurses, help2man, libiconv }:
{ stdenv, fetchurl, libcddb, pkgconfig, ncurses, help2man, libiconv, Carbon, IOKit }:
stdenv.mkDerivation rec {
name = "libcdio-2.0.0";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libcddb ncurses help2man ]
++ stdenv.lib.optional stdenv.isDarwin libiconv;
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Carbon IOKit ];
# Disabled due to several spurious test failures.
# doCheck = true;