From 6332da77f69e1d244132b6a4dfa452c11dfaf864 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 7 Jul 2012 20:19:38 +0200 Subject: distro: guile-1.8: Propagate GMP and Libtool. * distro/base.scm (guile-1.8): Propagate GMP and Libtool. --- distro/base.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'distro') diff --git a/distro/base.scm b/distro/base.scm index 95501dc7b4..91c79811c4 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -141,9 +141,12 @@ code.") (inputs `(("patch/snarf" ,(search-path %load-path "distro/guile-1.8-cpp-4.5.patch")) ("gawk" ,gawk) - ("readline" ,(nixpkgs-derivation "readline")) - ("gmp" ,(nixpkgs-derivation "gmp")) - ("libtool" ,(nixpkgs-derivation "libtool")))) + ("readline" ,(nixpkgs-derivation "readline")))) + + ;; Since `guile-1.8.pc' has "Libs: ... -lgmp -lltdl", these must be + ;; propagated. + (propagated-inputs `(("gmp" ,(nixpkgs-derivation "gmp")) + ("libtool" ,(nixpkgs-derivation "libtool")))) ;; When cross-compiling, a native version of Guile itself is needed. (self-native-input? #t) -- cgit v1.2.3