bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35064: gnome-desktop-service-type does not work


From: Jack Hill
Subject: bug#35064: gnome-desktop-service-type does not work
Date: Sun, 31 Mar 2019 20:35:42 -0400 (EDT)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

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.

I've closed the bug, since I think this should work when you replace (gnome-desktop-service-type) with (service gnome-desktop-service-type), but please let us know if you have more questions.

Best,
Jack





reply via email to

[Prev in Thread] Current Thread [Next in Thread]