GNU bug report logs - #36439
Guix build throws the data away if hash mismatch

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Sat, 29 Jun 2019 22:10:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 36439-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 36439-done <at> debbugs.gnu.org
Subject: Re: bug#36439: Guix build throws the data away if hash mismatch
Date: Sun, 30 Jun 2019 00:28:13 +0200
swedebugia <swedebugia <at> riseup.net> writes:

> When I run guix download the data is saved to the store. When I run
> guix build without first running download and the hash mismatches it
> seemingly throws the data away.

This is not a bug.

The data that’s downloaded when you run “guix build” is not added to the
store because the hash mismatch indicates that it is corrupt.  Not
adding corrupt data (according to the user-specified hash) is the right
thing to do here.

If you want to add downloaded things to the store you should keep using
“guix download” and not “guix build”.

--
Ricardo





This bug report was last modified 5 years and 329 days ago.

Previous Next


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