From a936dd00111ec2f3737c92de9da2b75f7045759e Mon Sep 17 00:00:00 2001 From: Spencer Whitt Date: Wed, 8 Apr 2015 21:55:19 -0400 Subject: [PATCH] gst-plugins-ugly 1.x: fix Darwin build --- pkgs/development/libraries/gstreamer/ugly/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/ugly/default.nix b/pkgs/development/libraries/gstreamer/ugly/default.nix index 4e3d7eee78b..c13beb4d5f7 100644 --- a/pkgs/development/libraries/gstreamer/ugly/default.nix +++ b/pkgs/development/libraries/gstreamer/ugly/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, pkgconfig, python , gst-plugins-base, orc , a52dec, libcdio, libdvdread -, lame, libmad, libmpeg2, x264 +, lame, libmad, libmpeg2, x264, libintlOrEmpty }: stdenv.mkDerivation rec { @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { like. The code might be widely known to present patent problems. ''; license = licenses.lgpl2Plus; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ iyzsong ]; }; @@ -32,5 +32,7 @@ stdenv.mkDerivation rec { gst-plugins-base orc a52dec libcdio libdvdread lame libmad libmpeg2 x264 - ]; + ] ++ libintlOrEmpty; + + NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null; }