unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* correct 'guix system reconfigure config.scm' files
@ 2018-01-11  0:33 Quiliro Ordonez Baca
  2018-01-11  1:45 ` Martin Castillo
  0 siblings, 1 reply; 4+ messages in thread
From: Quiliro Ordonez Baca @ 2018-01-11  0:33 UTC (permalink / raw)
  To: help-guix


I have 3 different config files:
pastebin.com/tmLvPAYG
pastebin.com/jmYHb6us
pastebin.com/aGHcY3Ey
I do not remember which one was good. Please criticize the sintax where
appropriate. Thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: correct 'guix system reconfigure config.scm' files
  2018-01-11  0:33 correct 'guix system reconfigure config.scm' files Quiliro Ordonez Baca
@ 2018-01-11  1:45 ` Martin Castillo
  2018-01-11  2:18   ` Quiliro Ordonez Baca
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Castillo @ 2018-01-11  1:45 UTC (permalink / raw)
  To: Quiliro Ordonez Baca, help-guix

Hi,

On 11.01.2018 01:33, Quiliro Ordonez Baca wrote:
> 
> I have 3 different config files:
> pastebin.com/tmLvPAYG
> pastebin.com/jmYHb6us
> pastebin.com/aGHcY3Ey
> I do not remember which one was good.
good in what sense?

> Please criticize the sintax where
> appropriate. Thank you.
I think guile can critisize syntax errors, too.
try `guix system build config.scm`

Martin

-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: correct 'guix system reconfigure config.scm' files
  2018-01-11  1:45 ` Martin Castillo
@ 2018-01-11  2:18   ` Quiliro Ordonez Baca
  2018-01-12  5:15     ` Chris Marusich
  0 siblings, 1 reply; 4+ messages in thread
From: Quiliro Ordonez Baca @ 2018-01-11  2:18 UTC (permalink / raw)
  To: Martin Castillo; +Cc: help-guix

Martin Castillo <castilma@uni-bremen.de> writes:

> Hi,

Hi. Thank you for your reply.

> On 11.01.2018 01:33, Quiliro Ordonez Baca wrote:
>> 
>> I have 3 different config files:
>> pastebin.com/tmLvPAYG
>> pastebin.com/jmYHb6us
>> pastebin.com/aGHcY3Ey
>> I do not remember which one was good.
> good in what sense?

In that it is correctly constructed.

>> Please criticize the sintax where
>> appropriate. Thank you.
> I think guile can critisize syntax errors, too.
> try `guix system build config.scm`

So, this is the way to test if it is correct?

Quiliro

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: correct 'guix system reconfigure config.scm' files
  2018-01-11  2:18   ` Quiliro Ordonez Baca
@ 2018-01-12  5:15     ` Chris Marusich
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Marusich @ 2018-01-12  5:15 UTC (permalink / raw)
  To: Quiliro Ordonez Baca; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 757 bytes --]

Quiliro Ordonez Baca <quiliro@riseup.net> writes:

>>> Please criticize the sintax where
>>> appropriate. Thank you.
>> I think guile can critisize syntax errors, too.
>> try `guix system build config.scm`
>
> So, this is the way to test if it is correct?

That is one way to test if there are problems.  If "guix system build"
fails, then it is not correct.  If it succeeds, then it might be
correct.  It is possible to successfully build an operating system
declaration that is syntactically correct but semantically incorrect.
For example, if your operating system configuration file defines a user
named "bob" when the user should actually have been "alice", Guix will
not complain even though it is not what you intended.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-12  5:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-11  0:33 correct 'guix system reconfigure config.scm' files Quiliro Ordonez Baca
2018-01-11  1:45 ` Martin Castillo
2018-01-11  2:18   ` Quiliro Ordonez Baca
2018-01-12  5:15     ` Chris Marusich

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).