[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35064: gnome-desktop-service-type does not work
From: |
Luther Thompson |
Subject: |
bug#35064: gnome-desktop-service-type does not work |
Date: |
Sun, 31 Mar 2019 22:17:08 -0400 |
On Sun, 31 Mar 2019 20:35:42 -0400 (EDT)
Jack Hill <address@hidden> wrote:
> On Sun, 31 Mar 2019, Luther Thompson wrote:
>
> > When doing a reconfigure, I got this message:
> >
> > /home/luther/config.scm:60:10: warning: 'gnome-desktop-service' is
> > deprecated, use 'gnome-desktop-service-type' instead
> >
> > So I changed (gnome-desktop-service) to
> > (gnome-desktop-service-type) and got this error:
> >
> > guix system: error: failed to load 'config.scm':
> > /home/luther/config.scm:60:10: Wrong type to apply: #<service-type
> > gnome-desktop 1bc6280>
>
> Luther,
>
> What you need here is (service gnome-desktop-service-type). The
> service function will turn the service-type into a service object
> which is what you need in this context.
>
> The documentation for service can be found in the manual
> <https://www.gnu.org/software/guix/manual/en/html_node/Service-Reference.html#Service-Reference>.
>
> In particular, note that in addition to the service-type service can
> take a value (often the configuration for the service). Since
> gnome-desktop-service-type has a default value, the value can be
> omitted.
Thank you. That seems to work so far.
Luther