git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #10763 from sjourdois/mkvtoolnix

mkvtoolnix: darwin fixes

commitd06aa704d83a64574647340cda04a8f2180175b4 authorDomen Kožar <domen@dev.si> dateSat 31 Oct 2015, 22:11 (11 years ago) parent5d123214532d88
1 file changed+4−2
pkgs/applications/video/mkvtoolnix/default.nix+4−2
pkgs/applications/video/mkvtoolnix/default.nix+4−2
@@ -6,6 +6,7 @@
66, legacyGUI ? true, wxGTK ? null
77# For now both qt5 and wxwidgets gui's are enabled, if wxwidgets is disabled the
88# build system doesn't install desktop entries, icons, etc...
9+, libiconv
910}:
1011
1112let
@@ -51,7 +52,8 @@ stdenv.mkDerivation rec {
5152
5253 buildInputs = [
5354 boost expat file flac libebml libmatroska libogg libvorbis xdg_utils zlib
54− ] ++ optional withGUI qt5
55+ ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]
56+ ++ optional withGUI qt5
5557 ++ optional legacyGUI wxGTK;
5658
5759 enableParallelBuilding = true;
@@ -69,6 +71,6 @@ stdenv.mkDerivation rec {
6971 homepage = http://www.bunkus.org/videotools/mkvtoolnix/;
7072 license = licenses.gpl2;
7173 maintainers = with maintainers; [ codyopel fuuzetsu ];
72− platforms = platforms.unix;
74+ platforms = platforms.all;
7375 };
7476}