all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Mazurkiewicz <trzczy@gmail.com>
To: help-guix@gnu.org
Subject: Fwd: Initial variables value?
Date: Wed, 22 May 2019 15:04:18 +0200	[thread overview]
Message-ID: <CALStFoHb44Yx1RSKCiMvDkNWT9MyOXMWQ-yGLG+hsKJv9yK7Bw@mail.gmail.com> (raw)
In-Reply-To: <CALStFoEnAT=kxjbqkFXHckgE_2zpFQL6zzcFMFTB=RUjzT_0ZQ@mail.gmail.com>

niedz., 19 maj 2019 o 10:05 Julien Lepiller <julien@lepiller.eu> napisał(a):
>
> 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.
I tried the advise to use `guix repl` and type the variable name, but
it displayed nothing so it apparently needs to import the modules
before.
>
> For %desktop-services, the actual definition is around here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1047
It is a good advise. Thanks
>
> For default values of records, you'll have look at the code or the manual. Services are defined in gnu/services/*.scm.
Thanks for your answer, Julien
Regards

      parent reply	other threads:[~2019-05-22 10:34 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
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     ` Adam Mazurkiewicz [this message]

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=CALStFoHb44Yx1RSKCiMvDkNWT9MyOXMWQ-yGLG+hsKJv9yK7Bw@mail.gmail.com \
    --to=trzczy@gmail.com \
    --cc=help-guix@gnu.org \
    /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.