Merge pull request #617 from lovek323/vim_configurable
Get vim_configurable compiling on darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, perl, glib }:
|
||||
{ stdenv, fetchurl, pkgconfig, perl, glib, libintlOrEmpty }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "atk-2.6.0";
|
||||
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "eff663f90847620bb68c9c2cbaaf7f45e2ff44163b9ab3f10d15be763680491f";
|
||||
};
|
||||
|
||||
buildInputs = libintlOrEmpty;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig perl ];
|
||||
|
||||
propagatedBuildInputs = [ glib ];
|
||||
|
||||
@@ -33,6 +33,8 @@ stdenv.mkDerivation rec {
|
||||
stdenv.lib.optional postscriptSupport zlib ++
|
||||
stdenv.lib.optional pngSupport libpng;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${pixman}/include/pixman-1";
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-tee" ]
|
||||
++ stdenv.lib.optional xcbSupport "--enable-xcb"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, libX11, xz, jasper }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, libX11, xz
|
||||
, jasper, libintlOrEmpty }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gdk-pixbuf-2.26.1";
|
||||
@@ -9,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
|
||||
buildInputs = [ libX11 ];
|
||||
buildInputs = [ libX11 libintlOrEmpty ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, atk, pango, cairo, perl, xlibs
|
||||
, gdk_pixbuf, xz
|
||||
, gdk_pixbuf, xz, libintlOrEmpty
|
||||
, xineramaSupport ? true
|
||||
, cupsSupport ? true, cups ? null
|
||||
}:
|
||||
@@ -17,12 +17,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo";
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ xlibs.xlibs glib atk pango gdk_pixbuf cairo
|
||||
xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi
|
||||
]
|
||||
xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi ]
|
||||
++ libintlOrEmpty
|
||||
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
|
||||
++ stdenv.lib.optionals cupsSupport [ cups ];
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "3a8c061e143c272ddcd5467b3567e970cfbb64d1d1600a8f8e62435556220cbe";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ gettext fontconfig ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
Reference in New Issue
Block a user