1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: nicotine+: Wrap with GUIX_GDK_PIXBUF_MODULE_FILES.

Previously, nicotine+ would fail to properly load some of its specified
icons in the graphic interface.

* gnu/packages/nicotine.scm (nicotine+)[arguments]{phases}: In
wrap-program phase, also wrap with GUIX_GDK_PIXBUF_MODULE_FILES.

Change-Id: I9cc83e1290d686e68320c9a270ecb7e9b6474f36
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Felipe Silva
2025-09-15 20:52:06 -03:00
committed by Ludovic Courtès
parent d4e06997e4
commit 812f41f8b6

View File

@@ -2,6 +2,7 @@
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2022 Fatima Toothpaste <fatimatoothpaste@disroot.org>
;;; Copyright © 2024 Juliana Sims <juli@incana.org>
;;; Copyright © 2025 Felipe Silva <git@felipeqq2.rocks>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -62,6 +63,8 @@
(add-after 'install 'wrap-program
(lambda _
(wrap-program (string-append #$output "/bin/nicotine")
`("GUIX_GDK_PIXBUF_MODULE_FILES" ":" suffix
(,(getenv "GUIX_GDK_PIXBUF_MODULE_FILES")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH"))))))
(add-after 'wrap-program 'glib-or-gtk-wrap