From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IEe1JA82SWDsYAAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 21:11:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +LSgIA82SWBzTQAA1q6Kng (envelope-from ) for ; Wed, 10 Mar 2021 21:11:43 +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 DB5D29B2E for ; Wed, 10 Mar 2021 22:11:42 +0100 (CET) Received: from localhost ([::1]:33892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK67K-0000qU-2m for larch@yhetil.org; Wed, 10 Mar 2021 16:11:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK672-0000p8-Nk for help-guix@gnu.org; Wed, 10 Mar 2021 16:11:24 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:58383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK670-0003dv-K1 for help-guix@gnu.org; Wed, 10 Mar 2021 16:11:24 -0500 Received: from pruneau.home (lfbn-lyo-1-2020-123.w90-66.abo.wanadoo.fr [90.66.188.123]) (Authenticated sender: d@divoplade.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id ED6D8240002; Wed, 10 Mar 2021 21:11:17 +0000 (UTC) Message-ID: <1d28531f5d92ca3962fe1bc56ecb850a243f854c.camel@divoplade.fr> Subject: Re: calculate hashes for a new packages From: divoplade To: Zelphir Kaltstahl , help-guix Date: Wed, 10 Mar 2021 22:11:17 +0100 In-Reply-To: <09886bce-2fb5-ca7a-896a-5f34f486bf40@posteo.de> References: <09886bce-2fb5-ca7a-896a-5f34f486bf40@posteo.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.178.230; envelope-from=d@divoplade.fr; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1615410703; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=RTdA52jAiWVNEqUSfDxc55qs0zVTBfDwcVDVeUfbZKw=; b=HpvtO5lllfu26a1IyOcXYCTa43fiyuK3CKN46plhYFSbkI9H6ouNA8vdqneDHE5LJk7dFR B3qENF0YjKRjMyhbRliSY/qxDlF4Q0ZPz2uDibJPXwA3/DjfhWvpyOxyO6TxvDOWI4NkKC Wn+zByhTl/qgrDY+RgjFJvYqoRzxs4lQ4i7bFpl1tMFACarhocDoyVU4ZUgXPcI3Xo96uR 6oTkiFteWI2vuZ+U8zb1dBGqVNkIzASYaMaWmcAhLxds+eGxK48ROixe0Z0XvzuIEqInnH GAymIweuDzL+bLUs1wjoBtmb+kwJCuN/RmjTvSOcGY8jUepOBUXUPJG0TWskdA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615410703; a=rsa-sha256; cv=none; b=SmZsNoZQPRyQMF0vKnTXBiOUzQS8U+A0L5bfFuouhL2qCktwW/UP2Fyuye4PjI16VmP8MG OkOEye3wuV59pPt175BV9SZdVimb4R78E0UDNLL8R7YGP2kzdVlg7tlxnpcweDDr6ximxw bI+4FP9iEBJJDVQflhyujEJNIPkXzvkldlVgmxeXZtmlvNx/sMyhPRZ/kax5pXvz21Dejw g93tMPjSzgW8B/yhigYLL3Y/LOwZ26xKBTro984Eo918I0c/uwgCJk4zsIYAWQ/X1JI6sf e31i/a2sO7oxa5aQDMhPszwJ/pUoX8bP9bzB1kYFUADVK/xgL518fFwdwLTcsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: DB5D29B2E X-Spam-Score: -2.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: cK+7myt86Kls 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 :)