Hi,

Oleg Pykhalov <[email protected]> skribis:

> [email protected] (Ludovic Courtès) writes:
>
>> Oleg Pykhalov <[email protected]> skribis:
>>
>>> [email protected] (Ludovic Courtès) writes:
>>>
>>> [...]
>>>
>>>> Could you check if this patch helps:
>>>>
>>>> diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
>>>> index 4adc70522..0e365018a 100644
>>>> --- a/guix/scripts/package.scm
>>>> +++ b/guix/scripts/package.scm
>>>> @@ -604,12 +604,12 @@ and upgrades."
>>>>      (options->upgrade-predicate opts))
>>>>  
>>>>    (define upgraded
>>>> -    (fold (lambda (entry transaction)
>>>> -            (if (upgrade? (manifest-entry-name entry))
>>>> -                (transaction-upgrade-entry entry transaction)
>>>> -                transaction))
>>>> -          transaction
>>>> -          (manifest-entries manifest)))
>>>> +    (fold-right (lambda (entry transaction)
>>>> +                  (if (upgrade? (manifest-entry-name entry))
>>>> +                      (transaction-upgrade-entry entry transaction)
>>>> +                      transaction))
>>>> +                transaction
>>>> +                (manifest-entries manifest)))
>>>>  
>>>>    (define to-install
>>>>      (filter-map (match-lambda

[...]

> I'm sorry, actually after patching no new generation created.  But
> dry-run still shows available upgrades and that will be build some
> derivations.
>
> $ guix package -p /home/natsu/.my-guix-profile/debug-upgrade -m 
> /home/natsu/dotfiles/guix/user.scm

I’ve pushed the above patch as eca16a3d1d9e6b2c064e0105c1015258bf2755f2.
Now we need to fix the UI side of things.

Could you resend the info to [email protected] so we keep track of it?

Thanks!

Ludo’.

Reply via email to