summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2014-12-09 13:43:03 +0100
committerFederico Beffa <beffa@fbengineering.ch>2014-12-09 13:43:03 +0100
commit5a4753a6997206b2c450ae1d3654c0eed286c1a2 (patch)
treec0f737177281ebd359ba735aca8cba744dad589e
parent66717243d0683fa05b5630c2e011f3a486a8d316 (diff)
downloadpatches-5a4753a6997206b2c450ae1d3654c0eed286c1a2.tar
patches-5a4753a6997206b2c450ae1d3654c0eed286c1a2.tar.gz
gnu: gobject-introspection: Define search path for typelib files.
* gnu/packages/glib.scm (gobject-introspection): Add 'native-search-paths' and 'search-paths' fields.
-rw-r--r--gnu/packages/glib.scm5
1 files changed, 5 insertions, 0 deletions
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.