diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-04-08 21:55:19 -0400 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-04-18 19:02:45 -0400 |
commit | a936dd00111ec2f3737c92de9da2b75f7045759e (patch) | |
tree | 642adbc91ca095c28715d17ccee1463acd259753 /pkgs/development/libraries/gstreamer/ugly/default.nix | |
parent | 0115d512fe04aa25fa3ebb5542d0587358ed6edf (diff) | |
download | nixpkgs-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.nix | 8 |
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; } |