GNU bug report logs - #41510
[PATCH] guix: print: Update deprecated method

Previous Next

Package: guix-patches;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Sun, 24 May 2020 16:42:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 41510 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Cc: 41510 <at> debbugs.gnu.org
Subject: Re: [bug#41510] [PATCH] guix: print: Update deprecated method
Date: Sat, 30 May 2020 16:17:56 +0200
Hi,

Ekaitz Zarraga <ekaitz <at> 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’.




This bug report was last modified 4 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.