help-guix
[Top][All Lists]
Advanced

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

Fwd: Initial variables value?


From: Adam Mazurkiewicz
Subject: Fwd: Initial variables value?
Date: Wed, 22 May 2019 15:04:18 +0200

niedz., 19 maj 2019 o 10:05 Julien Lepiller <address@hidden> napisał(a):
>
> Le 19 mai 2019 08:36:27 GMT+02:00, Adam Mazurkiewicz <address@hidden> 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



reply via email to

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