[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64106: `modify-services` no longer affects multiple instances of the
From: |
Ludovic Courtès |
Subject: |
bug#64106: `modify-services` no longer affects multiple instances of the same service |
Date: |
Mon, 19 Jun 2023 09:34:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Josselin Poiret <dev@jpoiret.xyz> skribis:
> "David Wilson" <david@daviwil.com> writes:
>
>> Hi Guix!
>>
>> Recently there was a change to the behavior of `modify-services` that adds
>> logic to check for any unused clauses so that an exception can be raised to
>> alert the user of this case.
>>
>> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=181951207339508789b28ba7cb914f983319920f
>>
>> It seems that the new logic has a bug that prevents a used clause from being
>> executed on more than one instance of a compatible service in a single
>> execution of `modify-services`. Here's a new test case for
>> `gnu/tests/services.scm` that exhibits the issue:
>
> This was intended, but was probably not a good idea.
It wasn’t really intended, more a side effect of the implementation, and
I agree it should be fixed.
Ludo’.