mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
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
|
||||
}:
|
||||
|
||||
|
@ -18,7 +18,10 @@ stdenv.mkDerivation rec {
|
|||
--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 = [
|
||||
"PREFIX=$(out)"
|
||||
|
@ -35,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
that focuses on simplicity and minimalism.
|
||||
'';
|
||||
license = licenses.zlib;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = [ maintainers.garbas ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue