gnu: sugar: Dehardcode #:modules.

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

Change-Id: I5a98d356c3e1a32b71e7949e3425da74081c1e82
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Tomas Volf 2025-01-24 12:48:24 +01:00 committed by Andreas Enge
parent 0a29ecd62d
commit 8be0fe4d4d
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -74,9 +74,8 @@
`(,@%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