about summary refs log tree commit diff
path: root/pkgs/applications/video/mkvtoolnix
diff options
context:
space:
mode:
authorStéphane Jourdois <sjourdois@gmail.com>2015-10-31 22:00:40 +0100
committerStéphane Jourdois <sjourdois@gmail.com>2015-10-31 22:01:05 +0100
commit4532d8844763df8ce27fab4bebd3a326691d1041 (patch)
tree22d0864a6da716ec4a0b3727629a4f336c6e3038 /pkgs/applications/video/mkvtoolnix
parenta9254356d163af27ede1b5ee3b05bb5eb093776f (diff)
downloadnixlib-4532d8844763df8ce27fab4bebd3a326691d1041.tar
nixlib-4532d8844763df8ce27fab4bebd3a326691d1041.tar.gz
nixlib-4532d8844763df8ce27fab4bebd3a326691d1041.tar.bz2
nixlib-4532d8844763df8ce27fab4bebd3a326691d1041.tar.lz
nixlib-4532d8844763df8ce27fab4bebd3a326691d1041.tar.xz
nixlib-4532d8844763df8ce27fab4bebd3a326691d1041.tar.zst
nixlib-4532d8844763df8ce27fab4bebd3a326691d1041.zip
mkvtoolnix: darwin fixes
Diffstat (limited to 'pkgs/applications/video/mkvtoolnix')
-rw-r--r--pkgs/applications/video/mkvtoolnix/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix
index e3f586a3a0f2..ed02850730c8 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;
   };
 }