all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fredrik Salomonsson <plattfot@posteo.net>
To: "(" <paren@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Nested modify-services
Date: Sun, 04 Jun 2023 20:56:13 +0000	[thread overview]
Message-ID: <878rczx7yq.fsf@posteo.net> (raw)
In-Reply-To: <877csjq8zv.fsf@disroot.org>

"(" <paren@disroot.org> writes:

> Fredrik Salomonsson <plattfot@posteo.net> writes:
>> guix system: warning: exception caught while executing 'eval' on service 'root':
>> error: remove: unbound variable
>> guix system: warning: some services could not be upgraded
>> hint: To allow changes to all the system services to take effect, you will need to reboot.
>
> This appears to be unrelated to MODIFY-SERVICES. No idea what it
> actually means, though, other than the obvious 'remove' being unbound...

Yeah, it could be totally unrelated.  It is at least triggered when I
have nested modify-services.  But could just be a red herring.

>> Is nesting modify-services supported, I.e call modify-services on a list
>> that already been modified by modify-services?
>
> It has to be.  %BASE-SERVICES and %DESKTOP-SERVICES are themselves
> constructed with MODIFY-SERVICES ^_^

Ok, that's good :).  Then at least I'm not using an unsopported
workflow[0].

[0] https://xkcd.com/1172/

-- 
s/Fred[re]+i[ck]+/Fredrik/g


      reply	other threads:[~2023-06-04 20:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 19:53 Nested modify-services Fredrik Salomonsson
2023-06-04 20:13 ` (
2023-06-04 20:56   ` Fredrik Salomonsson [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=878rczx7yq.fsf@posteo.net \
    --to=plattfot@posteo.net \
    --cc=help-guix@gnu.org \
    --cc=paren@disroot.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.