Hello,
Unlike the packages field of operating-system, the extra-packages
field of gnome-desktop-configuration does not accept a (package
"output") tuple.
Is this an intentional design choice, or a bug in the
gnome-desktop-service-type implementation?
guix repl
(use-modules (gnu services desktop)
(gnu packages glib))
;; Works fine if we only use packages
(gnome-desktop-configuration
(extra-packages
(append
(gnome-desktop-configuration-extra-packages (gnome-desktop-configuration))
(list glib-with-documentation))))
;; Fails if we use (package "output") tuple
(gnome-desktop-configuration
(extra-packages
(append
(gnome-desktop-configuration-extra-packages (gnome-desktop-configuration))
(list (list glib-with-documentation "bin")))))
;; ice-9/boot-9.scm:1685:16: In procedure raise-exception:
;; ERROR:
;; 1. &formatted-message:
;; format: "invalid value ~s for field '~a'\n"
;; arguments: ((#<package [email protected] gnu/packages/gtk.scm:844
7f50091e8580> #<package [email protected] gnu/packages/glib.scm:113 7f50086e16e0>
#<package [email protected] gnu/packages/gnome.scm:4832 7f500925f2c0> #<package
[email protected] gnu/packages/freedesktop.scm:2723 7f5008553630>
#<package [email protected] gnu/packages/fonts.scm:446
7f5008621000> #<package [email protected] gnu/packages/fonts.scm:362
7f5008621210> #<package gnome-default-applications@0
gnu/packages/gnome.scm:10279 7f500927bbb0> #<package
[email protected] gnu/packages/gnome.scm:8274 7f500926e0b0>
#<package [email protected] gnu/packages/gstreamer.scm:548 7f500e2ad580>
#<package [email protected] gnu/packages/gstreamer.scm:656 7f500e2ad4d0>
#<package [email protected] gnu/packages/gnome.scm:11419 7f500927e580> #<package
[email protected] gnu/packages/gnome.scm:3125 7f5009258e70> #<package
[email protected] gnu/packages/gnupg.scm:896 7f5008541580> #<package
[email protected] gnu/packages/pulseaudio.scm:172 7f50112f9f20> #<package
[email protected] gnu/packages/freedesktop.scm:605 7f5008546420> #<package
[email protected] gnu/packages/gnome.scm:3030 7f5009258f20>
#<package [email protected] gnu/packages/freedesktop.scm:3315
7f5008557bb0> #<package [email protected] gnu/packages/freedesktop.scm:2791
7f50085534d0> #<package [email protected] gnu/packages/gnome.scm:7572 7f500926e840>
#<package [email protected] gnu/packages/gnome.scm:8039 7f500926e210> (#<package
[email protected] gnu/packages/glib.scm:553 7f50086e1160> "bin")) extra-packages)
;; 2. &configuration-error
guix describe
Generation 41 Aug 01 2025 02:19:37 (current)
rosenthal 3e81aad
repository URL: https://codeberg.org/hako/rosenthal.git
branch: trunk
commit: 3e81aadb18067942c97bc67331c2b36e45ed9948
nonguix 39424fb
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: 39424fb09813cebac8d323da75abf80f01e2641f
guix-science 345dfdf
repository URL: https://codeberg.org/guix-science/guix-science.git
branch: master
commit: 345dfdf8b9afbae96a8d4c47820e1b058d696093
guix-cran 198fbbd
repository URL: https://github.com/guix-science/guix-cran.git
branch: master
commit: 198fbbdd5113f7c2239408acc7531c1947b4fc7c
guix dc455ba
repository URL: https://git.guix.gnu.org/guix.git
branch: master
commit: dc455ba0dd09bc32f050013a1424b5c442bfcb86
Thank you for your time.
--
Regards,
Anush Veeranala