From e851ab2c68cb2fab26bf686d56fdb1488ef9e78d Mon Sep 17 00:00:00 2001 From: Alice BRENON Date: Thu, 30 Jun 2022 22:02:22 +0200 Subject: [PATCH] gnu: ibus-anthy: Fix wrapped programs This is in follow up to 89db6e7ec77bf0f33474e47945755f5ab45e9f06, the proper fix wasn't to add inputs to the arguments but to use outputs to set the GI_TYPELIB_PATH. * gnu/packages/ibus.scm (ibus-anthy) [phase]{wrap-programs}: Search within outputs instead of inputs to set GI_TYPELIB_PATH. --- gnu/packages/ibus.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 234d4bd75f..9e8b0f124b 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -329,7 +329,7 @@ (define-public ibus-anthy #:phases (modify-phases %standard-phases (add-after 'install 'wrap-programs - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key outputs #:allow-other-keys) (for-each (lambda (prog) (wrap-program (search-input-file outputs (string-append "libexec/" prog)) @@ -338,7 +338,7 @@ (define-public ibus-anthy `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH") ,(search-input-directory - inputs "lib/girepository-1.0"))))) + outputs "lib/girepository-1.0"))))) '("ibus-engine-anthy" "ibus-setup-anthy"))))))) (native-inputs (list gettext-minimal -- 2.36.1