summary refs log tree commit diff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-07-07 20:19:38 +0200
committerLudovic Courtès <ludo@gnu.org>2012-07-07 20:19:38 +0200
commit6332da77f69e1d244132b6a4dfa452c11dfaf864 (patch)
tree78b48b062bcc00decfaa9ab4e8f62d5354a9e9eb /distro
parenta3d73f59e35e19561afde1bf60ef881a4e8db0e7 (diff)
downloadguix-6332da77f69e1d244132b6a4dfa452c11dfaf864.tar.gz
distro: guile-1.8: Propagate GMP and Libtool.
* distro/base.scm (guile-1.8): Propagate GMP and Libtool.
Diffstat (limited to 'distro')
-rw-r--r--distro/base.scm9
1 files changed, 6 insertions, 3 deletions
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)