mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
json-glib: add libintl for darwin
This commit is contained in:
parent
323eb06499
commit
994c845405
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus }:
|
||||
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus, libintlOrEmpty }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "json-glib-${minVer}.0";
|
||||
|
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
propagatedBuildInputs = [ glib gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = libintlOrEmpty;
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://live.gnome.org/JsonGlib;
|
||||
|
|
Loading…
Reference in a new issue