lol

gst-plugins-ugly 1.x: fix Darwin build

+5 -3
+5 -3
pkgs/development/libraries/gstreamer/ugly/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, python 2 2 , gst-plugins-base, orc 3 3 , a52dec, libcdio, libdvdread 4 - , lame, libmad, libmpeg2, x264 4 + , lame, libmad, libmpeg2, x264, libintlOrEmpty 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { ··· 17 17 like. The code might be widely known to present patent problems. 18 18 ''; 19 19 license = licenses.lgpl2Plus; 20 - platforms = platforms.linux; 20 + platforms = platforms.unix; 21 21 maintainers = with maintainers; [ iyzsong ]; 22 22 }; 23 23 ··· 32 32 gst-plugins-base orc 33 33 a52dec libcdio libdvdread 34 34 lame libmad libmpeg2 x264 35 - ]; 35 + ] ++ libintlOrEmpty; 36 + 37 + NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null; 36 38 }