From c1e5a9d2fb7d7b59b465236f74bab4e0c36cd213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 5 Oct 2009 22:21:45 +0000 Subject: [PATCH] G-Wrap: Propagate libffi. svn path=/nixpkgs/trunk/; revision=17656 --- pkgs/development/tools/guile/g-wrap/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/guile/g-wrap/default.nix b/pkgs/development/tools/guile/g-wrap/default.nix index 3efabbf99860..9969c6a180d0 100644 --- a/pkgs/development/tools/guile/g-wrap/default.nix +++ b/pkgs/development/tools/guile/g-wrap/default.nix @@ -9,8 +9,11 @@ stdenv.mkDerivation rec { }; # Note: Glib support is optional, but it's quite useful (e.g., it's - # used by Guile-GNOME). Guile-Library is needed by the test suite. - buildInputs = [ guile libffi pkgconfig glib guileLib ]; + # used by Guile-GNOME). + buildInputs = [ guile pkgconfig glib ] + ++ stdenv.lib.optional doCheck guileLib; + + propagatedBuildInputs = [ libffi ]; # GMP 4.2.2 uses GNU "extern inline". With GCC 4.2 in C99 mode, # this yields warnings such as: @@ -32,5 +35,6 @@ stdenv.mkDerivation rec { ''; homepage = http://www.nongnu.org/g-wrap/; license = "LGPLv2+"; + maintainers = [ stdenv.lib.maintainers.ludo ]; }; }