From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Hill Subject: bug#35064: gnome-desktop-service-type does not work Date: Sun, 31 Mar 2019 20:35:42 -0400 (EDT) Message-ID: References: <20190331185326.37e41b75@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAkvj-0007wY-HM for bug-guix@gnu.org; Sun, 31 Mar 2019 20:36:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAkvi-00070I-GO for bug-guix@gnu.org; Sun, 31 Mar 2019 20:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAkvi-000707-A3 for bug-guix@gnu.org; Sun, 31 Mar 2019 20:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAkvi-0001DZ-1V for bug-guix@gnu.org; Sun, 31 Mar 2019 20:36:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20190331185326.37e41b75@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Luther Thompson Cc: 35064-done@debbugs.gnu.org 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: # 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 . 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