From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wBLkJekovmQ9gAEASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 09:31:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sH4KJukovmQCCgEA9RJhRA (envelope-from ) for ; Mon, 24 Jul 2023 09:31:53 +0200 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 3F12A684F9 for ; Mon, 24 Jul 2023 09:31:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Z0Oo7l00; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690183913; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rxG3TdL/FvIG4xByqSFfi6yfbjBt9Yp1Sz5O4lZtXaU=; b=TRiLod+HuJcz6Y4TyYEJ/7Z4W8geXqwH0HHvUtNHyzWK4K/Fw/A2DVkSwSY+hnqT9DFZeu kegcow7PmoQivoFc6gpOgrG3T4HFyoH6lLyT941zzbAZ/QNuNghqrdJ7PY4MNTs+70Bl7K n+2yELegPrteFw05wd3OLrXxt4rNxU9RtZSJv8/0K32dU9803gPY5VJsUYu86XbAUcsM6J leGcxoaP2bxvcstSJGCSsUuBN48Dlx5CA7rhYAQkKTurjLzyp/GWYDKDKpjWRNIGdeKGne OcVlkWhQDMAayUbt4t/bbAxbVFxSlmYjExtOvZXFLZ5IZ3bSYGNY/xESfz+wnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Z0Oo7l00; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690183913; a=rsa-sha256; cv=none; b=RsSziPOEwN44eqBUtzjMZCSweFW6vIadYxpM33eHI4vt92eq+y7hqBuVjhKWNzvUbVcL70 3H6UVJsnLNap2XpMEs+urlY7WBQwzVVOkcT0ZabEBPkdDOfBr0ilz17/EPX/lu4x8E+74s AR+wZEoIWj1sBDyPfG58ulRFlhDdnmpEQKBJgU8BdqpWfLZYyOP6D7WrwCOHkGuno91Eos LCUmSeYegOamI8rv/O56lG7OSkjYxQU5bsEMsMBIf4gjY7olTRJxr2Ul86m1VcgHLHKlXi 5EGSIqOiWyspKsAfaTc3rcx2UKVp5zD0ozbHKRqfmF3qZPWK/M7Y2xK5ybgSjA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNq28-0001Hy-Mo; Mon, 24 Jul 2023 03:31:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNq26-0001GU-7Q for guix-patches@gnu.org; Mon, 24 Jul 2023 03:31:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNq25-00070i-Gt for guix-patches@gnu.org; Mon, 24 Jul 2023 03:31:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNq25-00072q-Dl for guix-patches@gnu.org; Mon, 24 Jul 2023 03:31:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64804] [PATCH 3/5] gnu: rust: Add rust-1.71. Resent-From: Fries Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 07:31:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64804 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64804@debbugs.gnu.org Cc: Fries , efraim@flashner.co.il, juli@incana.org Received: via spool by 64804-submit@debbugs.gnu.org id=B64804.169018383126960 (code B ref 64804); Mon, 24 Jul 2023 07:31:05 +0000 Received: (at 64804) by debbugs.gnu.org; 24 Jul 2023 07:30:31 +0000 Received: from localhost ([127.0.0.1]:41628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNq1W-00070f-2k for submit@debbugs.gnu.org; Mon, 24 Jul 2023 03:30:31 -0400 Received: from mail-4324.protonmail.ch ([185.70.43.24]:26641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNoFf-0003ze-J2 for 64804@debbugs.gnu.org; Mon, 24 Jul 2023 01:37:00 -0400 Date: Mon, 24 Jul 2023 05:36:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1690177013; x=1690436213; bh=rxG3TdL/FvIG4xByqSFfi6yfbjBt9Yp1Sz5O4lZtXaU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Z0Oo7l006WhxAkZkhVcc+erlUVfFbpdTJfpk2+U5pDUsP60He+NOZ+ZsHjML2zY65 Xu+IDhYSwQyal1hhdM+c2jE/WQX/jZDuTynRDHCb44MvaBGeM8jTaVP43CJnfWgPIw NlxjPNcVkB5RJAxcPAoLq8ZMji6YIWgRW7ZwjmA5/63fq2AF2+0pB7Pnq3RIvCaR5p NLfDW29ucf4jPtbpOBkg/3wSiMjuE0NPpCyUuLQCnYWBLq/yzbkUwCKv9R/ATdHsW3 ZV5rVWEsMlAtCTQid1N78H5p0BV4Qlo7LndC3dABbh3CWfWj05r/PcrJruNIsDfXd7 UDa8T91tNspIw== Message-ID: In-Reply-To: References: Feedback-ID: 42759890:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 24 Jul 2023 03:30:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Fries X-ACL-Warn: , Fries via Guix-patches From: Fries via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.15 X-Migadu-Queue-Id: 3F12A684F9 X-Migadu-Spam-Score: -5.15 X-Migadu-Scanner: mx0.migadu.com X-TUID: 06mkwg90krc5 * gnu/packages/rust.scm (rust-1.71): New variable. --- gnu/packages/rust.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 0b9afd3ea9..b65390c97c 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -740,6 +740,28 @@ (define rust-1.70 (patches (search-patches "rust-1.70-fix-rustix-build.patch")) (patch-flags '("-p1"))))))) =20 +(define rust-1.71 + (let ((base-rust + (rust-bootstrapped-package + rust-1.70 "1.71.0" "15jc0d13cmrh2xvpkyyvsbwgn3w4klqiwf2wlgzfp22m= vjmy8rx6"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (replace 'patch-cargo-checksums + (lambda _ + ;; Cargo's Cargo.lock file needs to have its checksums re= placed so + ;; the Cargo build doesn't fail. + (substitute* '("Cargo.lock" + "src/bootstrap/Cargo.lock" + "src/tools/rust-analyzer/Cargo.lock" + "src/tools/cargo/Cargo.lock") + (("(checksum =3D )\".*\"" all name) + (string-append name "\"" ,%cargo-reference-hash "\""))= ) + (generate-all-checksums "vendor")))))))))) + ;;; Note: Only the latest versions of Rust are supported and tested. The ;;; intermediate rusts are built for bootstrapping purposes and should not ;;; be relied upon. This is to ease maintenance and reduce the time --=20 2.41.0