From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UPGBBfoaSWC5bAAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 19:16:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iBw3AfoaSWCqZwAAbx9fmQ (envelope-from ) for ; Wed, 10 Mar 2021 19:16:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 86B1A1B0F4 for ; Wed, 10 Mar 2021 20:16:09 +0100 (CET) Received: from localhost ([::1]:37920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK4JU-0001AN-Js for larch@yhetil.org; Wed, 10 Mar 2021 14:16:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK4IF-0000sx-7B for help-guix@gnu.org; Wed, 10 Mar 2021 14:14:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]:44115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK4IC-0007FD-Jb for help-guix@gnu.org; Wed, 10 Mar 2021 14:14:50 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id EFF9A2400FC for ; Wed, 10 Mar 2021 20:14:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1615403685; bh=+7/DoVFqe8FCBXjA8NmtqrwB8RbYowAO2yBDS5bFfI8=; h=To:From:Subject:Date:From; b=ZhzFHEu54d6cENHkN7W1zgxXYBbdVVsfNcA+7x7m43heGx9v4KLWMlLwzi0USoLDw 61kuUAAVRxPOnUDk22oclhbjgToNUCcdKCmrDEo3DZXY2fYdBncwaCpjnndNQI9sR7 lvrJltGo+ADcq/XCmfTwxGGbvDOPxgraz4xYgy3v1nCkKt/9cHG3ePfI9BrT7ggsBN ig+J98XKNtKek/y3Jl2dWU/caQbO2Dhj1ZklkNHYobzP7F/LDTO68U8+M1NvHdo9nx pOWGP2hZvteb+1Bj+z6yoBYTY+h9g3jcn/prqa0lwj0IV6azVVjc4gneyNLDV806AA oTYXO8qizpJ8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DwhbS3JqQz9rxK for ; Wed, 10 Mar 2021 20:14:44 +0100 (CET) To: help-guix From: Zelphir Kaltstahl Subject: calculate hashes for a new packages Message-ID: <09886bce-2fb5-ca7a-896a-5f34f486bf40@posteo.de> 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 MIME-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL=1.623 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615403769; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=o4qZrYwoRGnYgHXjVLwJz5eOwoVq62lNsF5CEYdZvOQ=; b=QEfJoYLN7QNUAeJK44CEoC9ufGa6TLbBUhxo7guwqRVxTKC4MtbEuc0KYhSVFMVv/1FFPr yDQP30C7BMf6aMiS9z1zzeeUGjFI+yQhsCSlCXAvOz1D1XrgXO4fz5K/AVI5q2l5d8yPSK +6ttu3uSeEmMb7gz+MMzwiu6UqpjDdIthSVCws4Lh1hG7q97THenmJ11wOfr/T0QcoUOXy YZWnu5RQHNNkFPTrr/BY/7wWzxu3vaK1aJQ8mldok/apcykS0H8d3IhTrrVP86Mu8yGAZb 0jbf89e4wYtp5nLoAIT+aEUIeJU8m73joxGYZt7EyHoKz0HnTqkM5+CmI0mHLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615403769; a=rsa-sha256; cv=none; b=GRqR1jHYlIQ6No0dlirRgL1Ogsx/gk82Wyd8ZH0Nd3r5G980Xo7FC5/3m4XJMnJwUrBbKO 2fHfAgORSer/mOmi5hvSh46NiB/v4aSMjdSxYnWKt6ynOsbbz86Ee+a4rfkvXSzYD8tQIK iDtKPvuU3rMIgTDMoUMmJEihV3A7C3/RK/o98+I7Tb9o6mJe8mFum0WvUtptH/cSMeQzLk GxcnSCfsZDVQlg3V8AO6tCC6tqrCCLFnP0G5cTtvLQhVvc3pljfq9Kb4rCnBIvpb8wRTDU e4b5jyX/CVEHtlVQwn0tmmkaoeCxozdtqZKzLUznAsBKYGZvFx/te1Y/nkaezA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=ZhzFHEu5; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=ZhzFHEu5; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 86B1A1B0F4 X-Spam-Score: -1.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2Dr9Bnlaz5Uj 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