json-glib: add libintl for darwin
This commit is contained in:
parent
f05bb6d23f
commit
d5dbeec3b0
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus }:
|
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus, libintlOrEmpty }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "json-glib-${minVer}.0";
|
name = "json-glib-${minVer}.0";
|
||||||
|
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib gobjectIntrospection ];
|
propagatedBuildInputs = [ glib gobjectIntrospection ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = libintlOrEmpty;
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://live.gnome.org/JsonGlib;
|
homepage = http://live.gnome.org/JsonGlib;
|
||||||
|
|
Loading…
Reference in New Issue