unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: Luther Thompson <lutheroto@gmail.com>
Cc: 35064-done@debbugs.gnu.org
Subject: bug#35064: gnome-desktop-service-type does not work
Date: Sun, 31 Mar 2019 20:35:42 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.20.1903312028310.30127@marsh.hcoop.net> (raw)
In-Reply-To: <20190331185326.37e41b75@gmail.com>

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	other threads:[~2019-04-01  0:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-31 22:53 bug#35064: gnome-desktop-service-type does not work Luther Thompson
2019-04-01  0:35 ` Jack Hill [this message]
2019-04-01  2:17   ` Luther Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1903312028310.30127@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=35064-done@debbugs.gnu.org \
    --cc=lutheroto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).