[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47986] [PATCH] inferior: Support querying package replacements.
From: |
Christopher Baines |
Subject: |
[bug#47986] [PATCH] inferior: Support querying package replacements. |
Date: |
Fri, 14 May 2021 09:45:31 +0100 |
User-agent: |
mu4e 1.4.15; emacs 27.1 |
Ludovic Courtès <ludo@gnu.org> writes:
> Christopher Baines <mail@cbaines.net> skribis:
>
>> I'm looking at this to help with adding support for looking up package
>> replacements to store in the Guix Data Service.
>>
>> * guix/inferior.scm (inferior-package-replacement): New procedure.
>
> Could you add a docstring and ideally a test? (There might be
> complications for the test, let’s see how it goes.)
I've sent an update patch now.
Maybe the test should search out for a package without a replacement, as
well as a package with a replacement, so that it tests both cases, but I
just went with a simpler approach for now.
signature.asc
Description: PGP signature