From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8C9YI3DYzl54IwAA0tVLHw (envelope-from ) for ; Wed, 27 May 2020 21:15:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gEo+H3DYzl5wSwAAB5/wlQ (envelope-from ) for ; Wed, 27 May 2020 21:15:28 +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 EEDE394042B for ; Wed, 27 May 2020 21:15:27 +0000 (UTC) Received: from localhost ([::1]:52858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je3OY-0006VJ-1U for larch@yhetil.org; Wed, 27 May 2020 17:15:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je3OB-0006Fi-Cw for guix-patches@gnu.org; Wed, 27 May 2020 17:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1je3OB-0007OX-3h for guix-patches@gnu.org; Wed, 27 May 2020 17:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1je3OA-0005av-Vq for guix-patches@gnu.org; Wed, 27 May 2020 17:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41568] [PATCH] update-guix-package: Use 'origin-hash'. References: In-Reply-To: Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 May 2020 21:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41568 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41568@debbugs.gnu.org Cc: Vincent Legoll Received: via spool by 41568-submit@debbugs.gnu.org id=B41568.159061407221439 (code B ref 41568); Wed, 27 May 2020 21:15:02 +0000 Received: (at 41568) by debbugs.gnu.org; 27 May 2020 21:14:32 +0000 Received: from localhost ([127.0.0.1]:50135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3NX-0005Zb-Qr for submit@debbugs.gnu.org; Wed, 27 May 2020 17:14:32 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3NW-0005ZP-GG for 41568@debbugs.gnu.org; Wed, 27 May 2020 17:14:22 -0400 Received: by mail-wm1-f66.google.com with SMTP id v19so1040154wmj.0 for <41568@debbugs.gnu.org>; Wed, 27 May 2020 14:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=apW6lV4K31LmIJQPKYDadp1znK6gW4AW7QBV4k0e2J4=; b=eeMiD7GG51liMqse/KCrpdln0Qau6QMszO82+JZLWzkQs7VYDd3otl1D96ZEARzb94 2y7DGquRyUhaQcFeEvOzSsSxaEQO7RjXpLIAz55IInud0piLXHgtKrxey8n4t8nWWTQe Ft7GP6lYsr83NE/Y9yecUTNieCevXTg9GK67pT7/O5grIkPHaYNUOkLYHXsjKhEaroal +723pXechjjgLkC6gEF5zfT+gR2X+x4jHh5W+jXQ6nCK8m60E2AIDbQ8Rb3SaaOKG83l m3f9+p1eETTQGbQtjBn6/dQ8u4LmXvfnmAweoN3AI0GlDbwSLApAzBxKMduxxHDXCrgn tEhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=apW6lV4K31LmIJQPKYDadp1znK6gW4AW7QBV4k0e2J4=; b=lmMxlCnnQSUZzhqpMILgZQaEQnoHGollzQqkKCC0BCDOem3xQFWsuSFd3aTerzX331 TX4Yk65dI+o3reoUKlvti+5DiiP0g0pjfg1g3V9pQwSzO5I0vmDwHlhBHjO796tPc5+q 0ALXcCuoik2iDubdElUeeER4uHUasTnFAbnAbYL56+9uV9bzb+cpIHxkbJc4le7GG63E 7xHpvn2ex/WzoX0AzaqqhzkmSPvBIrNptKcuFxOHkitv9dVnRSYLEIPM8+QuIQ60ZyTO 4zcb5PeCAZIPPJHe/PU0FqfbvDBV8s+oUf+Hcq286Gj508oQ6iakGGqjudOcAd2qwngN R+gQ== X-Gm-Message-State: AOAM533+egFHowVjjZCLlOWFrMHPXbKCJNsXI66m6e3Z58npBO3troEM jzYbswZo1fT4VhNwpYNxTZAoFjaH X-Google-Smtp-Source: ABdhPJyexOn04GOAZfs24vcJ8FZd4L+IUkUYpeJPXLfK8zhXrnFXhWSzVaqsQhT6DJ8o98RfeYFm3Q== X-Received: by 2002:a1c:1d44:: with SMTP id d65mr30536wmd.179.1590614056643; Wed, 27 May 2020 14:14:16 -0700 (PDT) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id z11sm3760977wrw.67.2020.05.27.14.14.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 14:14:16 -0700 (PDT) From: Vincent Legoll Date: Wed, 27 May 2020 23:13:48 +0200 Message-Id: <20200527211348.6077-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=gmail.com header.s=20161025 header.b=eeMiD7GG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 5.59 X-TUID: aQx85P9bYuwA * gnu/packages/package-management.scm (main): Use 'origin-hash' instead of 'origin-sha256'. --- build-aux/update-guix-package.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-aux/update-guix-package.scm b/build-aux/update-guix-package.scm index 83f6eca6bb..f695e91cfd 100644 --- a/build-aux/update-guix-package.scm +++ b/build-aux/update-guix-package.scm @@ -112,7 +112,8 @@ COMMIT." #:select? version-controlled?)) (hash (query-path-hash store source)) (location (package-definition-location)) - (old-hash (origin-sha256 (package-source guix)))) + (old-hash (content-hash-value + (origin-hash (package-source guix))))) (edit-expression location (update-definition commit hash #:old-hash old-hash -- 2.26.2