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
1 changed files with 5 additions and 0 deletions

View File

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