diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-07-28 16:25:46 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-06 14:53:07 +0100 |
| commit | 258340b5b39ba10672c01fc26dd596737ca35b2f (patch) | |
| tree | 7ab03a4a5bb3dbaa439d27afc76f2d34b61bbaf4 | |
| parent | 3a2a4c3d1305977e5f5086166127e5a847526393 (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 2212a93d29b..dda187ef525 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5841,7 +5841,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 |
