Hi Peri,

Peri Didaskalou <[email protected]> writes:

> HJi Fredrik,
>
> I guess CC'ing [email protected] doesn't include sending replies to the 
> list, at least not from end.
> I've already replied to three other seven helpful replies.

It certainly does, but if you're not subscribed it needs to be manually
approved. Also, the list is sometimes just slow at distributing the
e-mails, so it might happen not all of the people received the replies. :)

And what you did here is certainly not stupid in any way. It can be easy
to misunderstand this. Guix System can make it look like the config.scm
is what says the current state of the system.

Note that this can be confusing also at other times, such as when adding
a substitute server and at the same time trying to substitute something
from it. If you just add a substitute server to the config and
reconfigure, the substitute server is not yet in effect, it goes into
effect only when activated. It's a common oversight. So not stupidity,
rather complexity that might not be easy to comprehend for someone
coming from imperative systems.

While hypothetically the system could be made in such a way to read the
config.scm and activate it automatically, it would be deeply impractical.
That is because many times it might happen you need to build something
for the config to take effect, you might need to download something and
so on. So it might take a long time or fail sometimes. So only when you
explicitly request it the config is taken and 'translated' to the
imperative commands that actually activate the configuration.

Then on boot you can even choose older system configurations, for
example if the new one doesn't boot since there is a mistake, ie. the
root disk changed to wrong one.

Cheers
Rutherther

Reply via email to