girara: supports darwin
This commit is contained in:
parent
b73eb69582
commit
f2d3fc12b8
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses
|
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses, libiconv, libintlOrEmpty
|
||||||
, withBuildColors ? true
|
, withBuildColors ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -18,7 +18,10 @@ stdenv.mkDerivation rec {
|
|||||||
--replace 'ifdef TPUT_AVAILABLE' 'ifneq ($(TPUT_AVAILABLE), 0)'
|
--replace 'ifdef TPUT_AVAILABLE' 'ifneq ($(TPUT_AVAILABLE), 0)'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk gettext ];
|
buildInputs = [ pkgconfig gtk gettext libintlOrEmpty ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=$(out)"
|
"PREFIX=$(out)"
|
||||||
@ -35,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
that focuses on simplicity and minimalism.
|
that focuses on simplicity and minimalism.
|
||||||
'';
|
'';
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = [ maintainers.garbas ];
|
maintainers = [ maintainers.garbas ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user