guix-patches
[Top][All Lists]
Advanced

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

[bug#41510] [PATCH] guix: print: Update deprecated method


From: Ekaitz Zarraga
Subject: [bug#41510] [PATCH] guix: print: Update deprecated method
Date: Sat, 30 May 2020 14:20:30 +0000

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, May 30, 2020 4:17 PM, Ludovic Courtès <ludo@gnu.org> wrote:

> Hi,
>
> Ekaitz Zarraga ekaitz@elenq.tech skribis:
>
> > guix/import/print.scm:77:21: warning: 'origin-sha256' is deprecated, use 
> > 'origin-hash' instead
>
> [...]
>
> > -            (sha256    (origin-sha256 source))
> >
> >
> >
> > -            (sha256    (origin-hash source))
> >
> >
>
> This is quite correct (contrary to what the warning suggests). You also
> have to use ‘content-hash-value’. The code also needs to check whether
> it’s actually sha256 or some other algorithm.
>
> Make sure to run:
>
> make check TESTS=tests/print.scm
>
> afterwards!
>
> Thanks,
> Ludo’.

LOL

Time to fix the warning then? ;)





reply via email to

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