distro: guile-2.0: Propagate libunistring and Libtool.

* distro/base.scm (guile-2.0): Propagate libunistring and Libtool.
This commit is contained in:
Ludovic Courtès 2012-07-07 20:28:03 +02:00
parent 6332da77f6
commit 466af8e8dd

View file

@ -173,14 +173,20 @@ (define-public guile-2.0
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("xz" ,(nixpkgs-derivation "xz")) (native-inputs `(("xz" ,(nixpkgs-derivation "xz"))
("pkgconfig" ,(nixpkgs-derivation "pkgconfig")))) ("pkgconfig" ,(nixpkgs-derivation "pkgconfig"))))
(inputs `(("libunistring" ,(nixpkgs-derivation "libunistring")) (inputs `(("libffi" ,(nixpkgs-derivation "libffi"))
("libffi" ,(nixpkgs-derivation "libffi"))
("libtool" ,(nixpkgs-derivation "libtool"))
("readline" ,(nixpkgs-derivation "readline")))) ("readline" ,(nixpkgs-derivation "readline"))))
;; The headers and/or `guile-2.0.pc' refer to these packages, so they must (propagated-inputs
;; be propagated. `( ;; These ones aren't normally needed here, but since `libguile-2.0.la'
(propagated-inputs `(("bdw-gc" ,(nixpkgs-derivation "boehmgc")) ;; reads `-lltdl -lunistring', adding them here will add the needed
;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see
;; <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18903>.
("libunistring" ,(nixpkgs-derivation "libunistring"))
("libtool" ,(nixpkgs-derivation "libtool"))
;; The headers and/or `guile-2.0.pc' refer to these packages, so they
;; must be propagated.
("bdw-gc" ,(nixpkgs-derivation "boehmgc"))
("gmp" ,(nixpkgs-derivation "gmp")))) ("gmp" ,(nixpkgs-derivation "gmp"))))
(self-native-input? #t) (self-native-input? #t)