all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: divoplade <d@divoplade.fr>
To: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>,
	help-guix <help-guix@gnu.org>
Subject: Re: calculate hashes for a new packages
Date: Wed, 10 Mar 2021 22:11:17 +0100	[thread overview]
Message-ID: <1d28531f5d92ca3962fe1bc56ecb850a243f854c.camel@divoplade.fr> (raw)
In-Reply-To: <09886bce-2fb5-ca7a-896a-5f34f486bf40@posteo.de>

Hello,

Le mercredi 10 mars 2021 à 20:14 +0100, Zelphir Kaltstahl a écrit :
> How does one calculate the hash for a package one wants to add to GNU
> Guix?

My method is: take any hash from any package, change the first digit
(if it’s 0, then write 1; if it’s 1, write 0), and try to build your
package. You will have an error message with the actual hash value,
whatever the download method is :)



      parent reply	other threads:[~2021-03-10 21:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 19:14 calculate hashes for a new packages Zelphir Kaltstahl
2021-03-10 19:21 ` Leo Famulari
2021-03-10 20:19   ` zimoun
2021-03-10 21:00     ` Zelphir Kaltstahl
2021-03-10 21:47       ` zimoun
2021-03-19 13:09       ` Joshua Branson
2021-03-10 20:22   ` Zelphir Kaltstahl
2021-03-10 21:11 ` divoplade [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d28531f5d92ca3962fe1bc56ecb850a243f854c.camel@divoplade.fr \
    --to=d@divoplade.fr \
    --cc=help-guix@gnu.org \
    --cc=zelphirkaltstahl@posteo.de \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.