Subject: bug#50771: guix system search doesn't show system services from channels

From: Andrew Tropin <[email-masked]>
Date: Tue, 28 Sep 2021 13:26:48 +0300

On 2021-09-27 15:27, zimoun wrote:

> Hi,
>
> On Fri, 24 Sept 2021 at 08:59, Andrew Tropin <[email-masked]> wrote:
>>
>> Declared system service in (gnu services tmp) in my channel, did guix
>> pull with the apropriate channels configuration.
>>
>> System service from (gnu services tmp) can be used in my
>> operating-system record, but not searchable with `guix system search`.
>>
>> Do anyone know reasons for such behavior?  Are there any known good
>> solutions for that problem?
>
> Does it work if, instead of pulling, you run --load-path?
>
> Cheers,
> simon

`guix system --load-path=~/work/rde search home` doesn't show the
system service I declared :/

I suspect this problem happens due to implementation:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services.scm?h=7aea1c112647381c799ce217df1a083f72aab0ba#n200