bug-guix
[Top][All Lists]
Advanced

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

bug#36439: Guix build throws the data away if hash mismatch


From: Ricardo Wurmus
Subject: bug#36439: Guix build throws the data away if hash mismatch
Date: Sun, 30 Jun 2019 00:28:13 +0200
User-agent: mu4e 1.2.0; emacs 26.2

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






reply via email to

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