diff --git a/pkgs/development/libraries/libass/default.nix b/pkgs/development/libraries/libass/default.nix index 1acd71c30c84..4b579524a528 100644 --- a/pkgs/development/libraries/libass/default.nix +++ b/pkgs/development/libraries/libass/default.nix @@ -5,6 +5,7 @@ , harfbuzzSupport ? true, harfbuzz ? null # harfbuzz support , rasterizerSupport ? false # Internal rasterizer , largeTilesSupport ? false # Use larger tiles in the rasterizer +, libiconv }: assert encaSupport -> enca != null; @@ -38,7 +39,8 @@ stdenv.mkDerivation rec { buildInputs = [ freetype fribidi ] ++ optional encaSupport enca ++ optional fontconfigSupport fontconfig - ++ optional harfbuzzSupport harfbuzz; + ++ optional harfbuzzSupport harfbuzz + ++ optional stdenv.isDarwin libiconv; meta = { description = "Portable ASS/SSA subtitle renderer";