all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, Adam Mazurkiewicz <trzczy@gmail.com>
Subject: Re: Initial variables value?
Date: Sun, 19 May 2019 10:05:11 +0200	[thread overview]
Message-ID: <51BD8328-EE62-4A55-BB5B-D103EFB9A7AF@lepiller.eu> (raw)
In-Reply-To: <CALStFoFbbUZrNrkkdfZxVEa+0xpRuoKyfDj=DZVZJVPctL1APg@mail.gmail.com>

Le 19 mai 2019 08:36:27 GMT+02:00, Adam Mazurkiewicz <trzczy@gmail.com> a écrit :
>How to watch the initial variables values? There are some important
>variables used in config.scm file. What would be the recommended way
>to extract eg the variable of %desktop-services ? And where are they
>declared?

Hi,

There are different ways to find these values. You can grep through the code from https://git.savannah.gnu.org/git/guix.git (https://git.savannah.gnu.org/cgit/guix.git for the web version). You can also run `guix repl` and type the variable name (you might need to import some modules before, I didn't check). Most of the time however, these variables are explained in the manual.

For %desktop-services, the actual definition is around here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1047

For default values of records, you'll have look at the code or the manual. Services are defined in gnu/services/*.scm.

  reply	other threads:[~2019-05-19  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-19  6:36 Initial variables value? Adam Mazurkiewicz
2019-05-19  8:05 ` Julien Lepiller [this message]
2019-05-19 14:44   ` Ludovic Courtès
2019-05-22 13:07     ` Adam Mazurkiewicz
     [not found]   ` <CALStFoEnAT=kxjbqkFXHckgE_2zpFQL6zzcFMFTB=RUjzT_0ZQ@mail.gmail.com>
2019-05-22 13:04     ` Fwd: " Adam Mazurkiewicz

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

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

  git send-email \
    --in-reply-to=51BD8328-EE62-4A55-BB5B-D103EFB9A7AF@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=help-guix@gnu.org \
    --cc=trzczy@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.