From 5a4753a6997206b2c450ae1d3654c0eed286c1a2 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Tue, 9 Dec 2014 13:43:03 +0100 Subject: gnu: gobject-introspection: Define search path for typelib files. * gnu/packages/glib.scm (gobject-introspection): Add 'native-search-paths' and 'search-paths' fields. --- gnu/packages/glib.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 159762c77c..4f18ef7a88 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -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. -- cgit 1.4.1