From: Chris Marusich <cmmarusich@gmail.com>
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: Fixed output derivation hash mismatch - why?
Date: Thu, 12 Apr 2018 21:52:53 -0700 [thread overview]
Message-ID: <87muy71zdm.fsf@gmail.com> (raw)
In-Reply-To: <87po344yi5.fsf@netris.org> (Mark H. Weaver's message of "Thu, 12 Apr 2018 04:31:14 -0400")
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
Mark H Weaver <mhw@netris.org> writes:
> I think the problem is here:
>
> (define hash (sha256
> (base32
> "1r3v22qkypccqifzbww5lrn6hf1chi23m6zzkyvb8bvg457nxslq")))
>
> Remove the 'sha256'. It should just be this:
>
> (define hash (base32
> "1r3v22qkypccqifzbww5lrn6hf1chi23m6zzkyvb8bvg457nxslq"))
>
> Within 'origin' records, the 'sha256' is the field name, part of the
> constructor syntax. Here, you are not within an 'origin' constructor,
> and the 'sha256' is instead a procedure which computes the sha256 hash
> of its argument.
This was the problem! I misunderstood what the daemon was telling me,
and I didn't realize that "sha256" was the field name.
I knew a second pair of eyes would help! Thank you for helping me to
see more clearly, Mark. :-)
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2018-04-13 4:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-12 7:35 Fixed output derivation hash mismatch - why? Chris Marusich
2018-04-12 8:31 ` Mark H Weaver
2018-04-13 4:52 ` Chris Marusich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87muy71zdm.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).