help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix upgrade leads to different hashes


From: Oleg Pykhalov
Subject: Re: Guix upgrade leads to different hashes
Date: Fri, 06 Oct 2017 19:36:46 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)

Hello Ludovic,

address@hidden (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

Nope, this didn't help :-(

Thanks,
Oleg.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]