gnu: gobject-introspection: Define search path for typelib files.

* gnu/packages/glib.scm (gobject-introspection): Add 'native-search-paths' and
  'search-paths' fields.
This commit is contained in:
Federico Beffa 2014-12-09 13:43:03 +01:00
parent 66717243d0
commit 5a4753a699

View File

@ -223,6 +223,11 @@ dynamic loading, and an object system.")
`(;; In practice, GIR users will need libffi when using
;; gobject-introspection.
("libffi" ,libffi)))
(native-search-paths
(list (search-path-specification
(variable "GI_TYPELIB_PATH")
(directories '("lib/girepository-1.0")))))
(search-paths native-search-paths)
(arguments
`(;; The patch 'gobject-introspection-absolute-shlib-path.patch' causes
;; some tests to fail.