From f9e4d65b1f3a67e491ccee3b5601432113c4eaa8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 7 Feb 2026 20:36:18 +0200 Subject: [PATCH] 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 --- gnu/packages/gnome.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e2add9a5cf..b4e5aaf8ec 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2015-2020, 2023, 2024 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver ;;; Copyright © 2015 David Thompson -;;; Copyright © 2015-2025 Efraim Flashner +;;; Copyright © 2015-2026 Efraim Flashner ;;; Copyright © 2016, 2017, 2018 Rene Saavedra ;;; Copyright © 2016 Jochem Raat ;;; Copyright © 2016, 2017, 2019 Kei Kebreau @@ -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")))