mkvtoolnix: do not inline the result of optional in buildInputs because it returns a list and should be concatenated instead

This commit is contained in:
José Romildo Malaquias 2016-09-23 07:20:02 -03:00
parent cdec20ac58
commit d18a8f9cf2

@ -22,11 +22,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoconf automake gettext ruby ];
buildInputs = [
expat
file xdg_utils boost libebml zlib
libmatroska libogg libvorbis flac
(optional withGUI qt5.qtbase)
];
expat file xdg_utils boost libebml zlib libmatroska libogg
libvorbis flac
] ++ optional withGUI qt5.qtbase;
preConfigure = "./autogen.sh; patchShebangs .";
buildPhase = "./drake -j $NIX_BUILD_CORES";