Hello Guix Users!

How does one calculate the hash for a package one wants to add to GNU Guix?

I know 2 ways, giving me different results. One is for the repository folder and
one is for the tarball:

~~~~
guix hash --exclude-vcs --recursive .
guix hash PACKAGE-VERSION-tar.gz  # a tarball created by guile-hall
~~~~

Which one is the one I should be using for the source -> origin -> sha256 ->
base32 value in a GNU Guix package definition?

Regards,
Zelphir

-- 
repositories: https://notabug.org/ZelphirKaltstahl

Reply via email to