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

gnu: system-config-printer: Fix build.

* gnu/packages/gnome.scm (system-config-printer)[arguments]: Add
modules, with prefix as needed.  Adjust the 'add-install-to-pythonpath
and 'wrap-for-python phases.

Change-Id: If86ad288064170ada3613678063f041766dc9606
This commit is contained in:
Efraim Flashner
2026-02-07 20:36:18 +02:00
parent c5cdafddf5
commit f9e4d65b1f

View File

@@ -11,7 +11,7 @@
;;; Copyright © 2015-2020, 2023, 2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 David Thompson <davet@gnu.org>
;;; Copyright © 2015-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015-2026 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
@@ -2946,6 +2946,9 @@ guidelines.")
(list
#:imported-modules (append %glib-or-gtk-build-system-modules
%pyproject-build-system-modules)
#:modules '((guix build glib-or-gtk-build-system)
((guix build pyproject-build-system) #:prefix py:)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-build-files
@@ -2970,9 +2973,9 @@ guidelines.")
'("config.guess" "config.sub")))))
#~())
(add-after 'install 'add-install-to-pythonpath
py:add-install-to-pythonpath)
(assoc-ref py:%standard-phases 'add-install-to-pythonpath))
(add-after 'add-install-to-pythonpath 'wrap-for-python
py:wrap)
(assoc-ref py:%standard-phases 'wrap))
(add-after 'install 'wrap
(lambda _
(let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))