gnu: gimp: Wrap GI_TYPELIB_PATH exactly.

* gnu/packages/gimp.scm (gimp-3) [phases] {wrap}: Wrap GI_TYPELIB_PATH
exactly.

Fixes: https://issues.guix.gnu.org/77921
Change-Id: Ia9d40386ee1aaa342e4278d96a698559f4b26881
This commit is contained in:
Maxim Cournoyer 2025-04-28 13:40:32 +09:00
parent 56999614a4
commit 2b4680c6c1
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -460,7 +460,10 @@ that is extensible via a plugin system.")
(for-each
(lambda (prog)
(wrap-program prog
`("GI_TYPELIB_PATH" suffix
;; Ensure GI_TYPELIB_PATH is not extended from the
;; environment, as it could cause Gimp to crash (see
;; bug#77921).
`("GI_TYPELIB_PATH" =
(,(getenv "GI_TYPELIB_PATH")))
`("GUIX_PYTHONPATH" suffix
(,(getenv "GUIX_PYTHONPATH")))))