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

From: Ludovic Courtès <[email-masked]>
Date: Sat, 30 May 2020 16:17:56 +0200

Hi,

Ekaitz Zarraga <[email-masked]> 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’.