From 2b4680c6c17bd6470f78a1f39d2f7af8b05e279f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 28 Apr 2025 13:40:32 +0900 Subject: [PATCH] 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 --- gnu/packages/gimp.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index 07f005bb188..4511bf5d898 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm @@ -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")))))