3
0
Fork 0
forked from mirrors/nixpkgs

gtk3: propagate dependencies from the closure

This commit is contained in:
Vladimír Čunát 2013-04-05 10:27:11 +02:00
parent eb2e46aab2
commit 23cde66a4a

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, glib, atk, pango, cairo, perl, xlibs { stdenv, fetchurl, pkgconfig
, gdk_pixbuf, xz, at_spi2_atk , expat, glib, cairo, pango, gdk_pixbuf, atk, at_spi2_atk, xlibs
, xineramaSupport ? true , xineramaSupport ? true
, cupsSupport ? true, cups ? null , cupsSupport ? true, cups ? null
}: }:
@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = with xlibs; [ nativeBuildInputs = [ pkgconfig ];
pkgconfig glib atk pango gdk_pixbuf at_spi2_atk propagatedBuildInputs = with xlibs; [
expat glib cairo pango gdk_pixbuf atk at_spi2_atk
libXrandr libXrender libXcomposite libXi libXrandr libXrender libXcomposite libXi
] ] ++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
++ stdenv.lib.optionals cupsSupport [ cups ]; ++ stdenv.lib.optionals cupsSupport [ cups ];
postInstall = "rm -rf $out/share/gtk-doc"; postInstall = "rm -rf $out/share/gtk-doc";