summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer/ugly/default.nix
diff options
context:
space:
mode:
authorSpencer Whitt <sw@swhitt.me>2015-04-08 21:55:19 -0400
committerSpencer Whitt <sw@swhitt.me>2015-04-18 19:02:45 -0400
commita936dd00111ec2f3737c92de9da2b75f7045759e (patch)
tree642adbc91ca095c28715d17ccee1463acd259753 /pkgs/development/libraries/gstreamer/ugly/default.nix
parent0115d512fe04aa25fa3ebb5542d0587358ed6edf (diff)
downloadnixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.tar
nixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.tar.gz
nixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.tar.bz2
nixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.tar.lz
nixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.tar.xz
nixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.tar.zst
nixpkgs-a936dd00111ec2f3737c92de9da2b75f7045759e.zip
gst-plugins-ugly 1.x: fix Darwin build
Diffstat (limited to 'pkgs/development/libraries/gstreamer/ugly/default.nix')
-rw-r--r--pkgs/development/libraries/gstreamer/ugly/default.nix8
1 files 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;
 }