diff options
author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-07-28 16:25:46 +0900 |
---|---|---|
committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-07-28 16:34:09 +0900 |
commit | 369e289ca08c1ca54f24336c19f02e409edc6d12 (patch) | |
tree | 10f83d4072d62d1153562692b450b650ad922b85 | |
parent | ac5ce2c6c4086d42bb3a49be80c8cfe8480b3128 (diff) |
gnu: upower: Fix test suite.
* gnu/packages/gnome.scm (upower) [phases] {set-gi-typelib-path}: New phase.
{check}: Reorder after phase new phase.
Change-Id: Id7a4edc9ae7d30ad67130d908be410abe04186ff
-rw-r--r-- | gnu/packages/gnome.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 71a1ef9cd5..9a6783d0fe 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -6066,7 +6066,16 @@ faster results and to avoid unnecessary server load.") (("assertEqual(.*)40\\.0" _ middle) (string-append "assertAlmostEqual" middle "40.0")))) - '())))))) + '()))) + (delete 'check) ;moved after install + (add-after 'install 'set-gi-typelib-path + (lambda* (#:key outputs #:allow-other-keys) + (setenv "GI_TYPELIB_PATH" + (string-append + (search-input-directory outputs "lib/girepository-1.0") + ":" (getenv "GI_TYPELIB_PATH"))))) + (add-after 'set-gi-typelib-path 'check + (assoc-ref %standard-phases 'check))))) (native-inputs (list `(,glib "bin") ; for gdbus-codegen gobject-introspection |