From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Initial variables value? Date: Sun, 19 May 2019 10:05:11 +0200 Message-ID: <51BD8328-EE62-4A55-BB5B-D103EFB9A7AF@lepiller.eu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSGp1-0003OS-T8 for help-guix@gnu.org; Sun, 19 May 2019 04:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSGp0-0006SK-Sb for help-guix@gnu.org; Sun, 19 May 2019 04:05:31 -0400 Received: from lepiller.eu ([89.234.186.109]:41652) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSGp0-00066I-JS for help-guix@gnu.org; Sun, 19 May 2019 04:05:30 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org, Adam Mazurkiewicz Le 19 mai 2019 08:36:27 GMT+02:00, Adam Mazurkiewicz a= =C3=A9crit : >How to watch the initial variables values? There are some important >variables used in config=2Escm file=2E 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=2E You can grep through the = code from https://git=2Esavannah=2Egnu=2Eorg/git/guix=2Egit (https://git=2E= savannah=2Egnu=2Eorg/cgit/guix=2Egit for the web version)=2E You can also r= un `guix repl` and type the variable name (you might need to import some mo= dules before, I didn't check)=2E Most of the time however, these variables = are explained in the manual=2E For %desktop-services, the actual definition is around here: https://git= =2Esavannah=2Egnu=2Eorg/cgit/guix=2Egit/tree/gnu/services/desktop=2Escm#n10= 47 For default values of records, you'll have look at the code or the manual= =2E Services are defined in gnu/services/*=2Escm=2E