[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68835: Resolving package inheritance issue
From: |
Maxim Cournoyer |
Subject: |
bug#68835: Resolving package inheritance issue |
Date: |
Sun, 11 Feb 2024 23:53:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Oleg,
Josselin Poiret <dev@jpoiret.xyz> writes:
> Hi Oleg,
>
> Sharlatan Hellseher <sharlatanus@gmail.com> writes:
>
>> Long story short, how to resolve package inheritance which would not
>> break CI ;-) ?
>>
>> [...]
>>
>> My rational was to keep golang module in (gnu packages golang-web) and
>> the new inherited package providing executable in (gnu packages web)
>> which introduced the regression.
>
> Please see "(guix) Cyclic Module Dependencies" in the manual, it
> contains some explanations around this kind of issue.
>
> I'd suggest not separating inherited packages in different modules.
Agreed; using lazy evaluation to alleviate cycles is our modules is
convenient; but it means we need a strict hygiene, following what's laid
out in the referenced doc section above.
I'm closing, but feel free to discuss this further if something is not
clear/could be improved.
--
Thanks,
Maxim