gnome3.libgnome-games-support: fix darwin build

This commit is contained in:
Jan Tojnar 2018-03-14 16:01:18 +01:00
parent e65863953f
commit 5f58748116
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, intltool, gnome3 }:
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, intltool, gnome3, libintlOrEmpty }:
let
pname = "libgnome-games-support";
@ -11,9 +11,11 @@ in stdenv.mkDerivation rec {
sha256 = "0mhly6yhdc4kvg8ff09a0syabd6igvcmcm577ypfsjkxv92v328x";
};
nativeBuildInputs = [ pkgconfig intltool ];
nativeBuildInputs = [ pkgconfig intltool ] ++ libintlOrEmpty;
buildInputs = [ glib gtk3 libgee ];
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;