[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
calculate hashes for a new packages
From: |
Zelphir Kaltstahl |
Subject: |
calculate hashes for a new packages |
Date: |
Wed, 10 Mar 2021 20:14:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
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