gnome3.libgnome-games-support: fix darwin build
This commit is contained in:
parent
e65863953f
commit
5f58748116
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, intltool, gnome3 }:
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, intltool, gnome3, libintlOrEmpty }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "libgnome-games-support";
|
pname = "libgnome-games-support";
|
||||||
@ -11,9 +11,11 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "0mhly6yhdc4kvg8ff09a0syabd6igvcmcm577ypfsjkxv92v328x";
|
sha256 = "0mhly6yhdc4kvg8ff09a0syabd6igvcmcm577ypfsjkxv92v328x";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool ] ++ libintlOrEmpty;
|
||||||
buildInputs = [ glib gtk3 libgee ];
|
buildInputs = [ glib gtk3 libgee ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user