[bug#68150,v3,4/8] gnu: sugar: Dehardcode #:modules.

Message ID 20250124114934.24600-5-ngraves@ngraves.fr
State New
Headers
Series Fix usage of glib-or-gtk-build-system |

Commit Message

Nicolas Graves Jan. 24, 2025, 11:48 a.m. UTC
  From: Tomas Volf <~@wolfsden.cz>

* gnu/packages/sugar.scm (sugar)[arguments]<#:modules>: Replace the hardcoded
list with %glib-or-gtk-build-system-default-modules.

Change-Id: I5a98d356c3e1a32b71e7949e3425da74081c1e82
---
 gnu/packages/sugar.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
  

Patch

diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 9a82b5fb20..e53d8404e6 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -74,9 +74,8 @@  (define-public sugar
       `(,@%glib-or-gtk-build-system-modules
         (guix build python-build-system))
       #:modules
-      '((guix build glib-or-gtk-build-system)
-        ((guix build python-build-system) #:prefix python:)
-        (guix build utils))
+      `(((guix build python-build-system) #:prefix python:)
+        ,@%glib-or-gtk-build-system-default-modules)
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-build-system