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 4I+3BeOjyl64EQAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 16:42:11 +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 QAukAeOjyl6JdwAA1q6Kng (envelope-from ) for ; Sun, 24 May 2020 16:42:11 +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 83C1E940C54 for ; Sun, 24 May 2020 16:42:10 +0000 (UTC) Received: from localhost ([::1]:44406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcthR-0007QP-0M for larch@yhetil.org; Sun, 24 May 2020 12:42:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcthK-0007Q6-Ot for guix-patches@gnu.org; Sun, 24 May 2020 12:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcthK-0006GV-EW for guix-patches@gnu.org; Sun, 24 May 2020 12:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcthK-0002YU-CN for guix-patches@gnu.org; Sun, 24 May 2020 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41510] [PATCH] guix: print: Update deprecated method Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 May 2020 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41510 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41510@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.15903385049798 (code B ref -1); Sun, 24 May 2020 16:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2020 16:41:44 +0000 Received: from localhost ([127.0.0.1]:38545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcth2-0002Xx-GX for submit@debbugs.gnu.org; Sun, 24 May 2020 12:41:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:46726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcth1-0002Xq-Ag for submit@debbugs.gnu.org; Sun, 24 May 2020 12:41:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcth1-0007OF-3p for guix-patches@gnu.org; Sun, 24 May 2020 12:41:43 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:33400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jctgz-0006Eg-ER for guix-patches@gnu.org; Sun, 24 May 2020 12:41:42 -0400 Date: Sun, 24 May 2020 16:41:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1590338498; bh=jT98uB+Hy6g1g/91A/2YdHneZv4mSpVI9MfIvBn+yRM=; h=Date:To:From:Reply-To:Subject:From; b=uNAMQ38Oz+8l5YBFLFvqGuCU24MT5NhMByOs10F1sDHNJbABQpOguntPbBmwFZmdp 17g24tcR7YGBnTpO2LusBBYhqltrcsGAmuQEl5240m1OpJSk7/QV0pV+uVI0DWbSRQ domkFTChf8BPtqZ2iunkDCtwnvSxvGeX8QzHzAnQ= From: Ekaitz Zarraga Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.134; envelope-from=ekaitz@elenq.tech; helo=mail-40134.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/24 12:41:38 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elenq.tech header.s=protonmail header.b=uNAMQ38O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: hgLmE9hZQRYD Hi, This patch corrects the following warning: guix/import/print.scm:77:21: warning: 'origin-sha256' is deprecated, use 'o= rigin-hash' instead Best, Ekaitz >From ac21251092570bd426505f98d4415781e7c66147 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 24 May 2020 18:36:59 +0200 Subject: [PATCH] guix: print: Update deprecated method * guix/import/print.scm (source->code): Replace origin-sha256 with origin-hash --- guix/import/print.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/print.scm b/guix/import/print.scm index 11cc218285..afbb680607 100644 --- a/guix/import/print.scm +++ b/guix/import/print.scm @@ -74,7 +74,7 @@ when evaluated." (define (source->code source version) (let ((uri (origin-uri source)) (method (origin-method source)) - (sha256 (origin-sha256 source)) + (sha256 (origin-hash source)) (file-name (origin-file-name source)) (patches (origin-patches source))) `(origin -- 2.26.2