Skip to content

Commit

Permalink
json-glib: add libintl for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Jun 27, 2016
1 parent 323eb06 commit 994c845
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/libraries/json-glib/default.nix
@@ -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";
Expand All @@ -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;
Expand Down

0 comments on commit 994c845

Please sign in to comment.