From 4532d8844763df8ce27fab4bebd3a326691d1041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Sat, 31 Oct 2015 22:00:40 +0100 Subject: [PATCH] mkvtoolnix: darwin fixes --- pkgs/applications/video/mkvtoolnix/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix index e3f586a3a0f..ed02850730c 100644 --- a/pkgs/applications/video/mkvtoolnix/default.nix +++ b/pkgs/applications/video/mkvtoolnix/default.nix @@ -6,6 +6,7 @@ , legacyGUI ? true, wxGTK ? null # For now both qt5 and wxwidgets gui's are enabled, if wxwidgets is disabled the # build system doesn't install desktop entries, icons, etc... +, libiconv }: let @@ -51,7 +52,8 @@ stdenv.mkDerivation rec { buildInputs = [ boost expat file flac libebml libmatroska libogg libvorbis xdg_utils zlib - ] ++ optional withGUI qt5 + ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ] + ++ optional withGUI qt5 ++ optional legacyGUI wxGTK; enableParallelBuilding = true; @@ -69,6 +71,6 @@ stdenv.mkDerivation rec { homepage = http://www.bunkus.org/videotools/mkvtoolnix/; license = licenses.gpl2; maintainers = with maintainers; [ codyopel fuuzetsu ]; - platforms = platforms.unix; + platforms = platforms.all; }; }