summary refs log tree commit diff
diff options
context:
space:
mode:
-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)