From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AMWNJeAl62LbiwAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 03:50:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mGOnJeAl62L56gAA9RJhRA (envelope-from ) for ; Thu, 04 Aug 2022 03:50:24 +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 1E6351F768 for ; Thu, 4 Aug 2022 03:50:24 +0200 (CEST) Received: from localhost ([::1]:46718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJQ0E-00013u-Se for larch@yhetil.org; Wed, 03 Aug 2022 21:50:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJPzu-00011u-OF for guix-patches@gnu.org; Wed, 03 Aug 2022 21:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJPzu-0001dn-EG for guix-patches@gnu.org; Wed, 03 Aug 2022 21:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJPzu-0007B9-AM for guix-patches@gnu.org; Wed, 03 Aug 2022 21:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54439] [PATCH core-updates 1/2] gnu: rust: decouple rust-1.57 and "rust" References: In-Reply-To: Resent-From: Jim Newsome Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Aug 2022 01:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54439 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54439@debbugs.gnu.org, Maxime Devos Cc: Jim Newsome , Paul Alesius , Felipe Balbi , kiasoc5@tutanota.com, Pierre Langlois Received: via spool by 54439-submit@debbugs.gnu.org id=B54439.165957778027547 (code B ref 54439); Thu, 04 Aug 2022 01:50:02 +0000 Received: (at 54439) by debbugs.gnu.org; 4 Aug 2022 01:49:40 +0000 Received: from localhost ([127.0.0.1]:50621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJPzX-0007AE-IR for submit@debbugs.gnu.org; Wed, 03 Aug 2022 21:49:39 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:44423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJPzV-00079y-Qw for 54439@debbugs.gnu.org; Wed, 03 Aug 2022 21:49:38 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id B862C2B05C41; Wed, 3 Aug 2022 21:49:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 03 Aug 2022 21:49:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimnewsome.net; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1659577771; x=1659581371; bh=kex8moIkjo QBsibiUYcTUG9NvFMfXOl9M++HKqjwPU4=; b=zSxJ+daj1mJf/ZGLIGv/5w1o9x ltkBd+bHfExMODGXNuKsmN/LeJRIMoJFBeInSap3F3TObD4MuPMCImjSwlQhTtpk HA085oYxJTDWcVvmfLK3Cv8KA2sBSP8s4W4XziYYjmftf8ZqB1MycbnRIKvVrWtE pBGHGgxGlEkLBDaGnaQJKZ1/FWA11FUgxRVHT85Wqazh9Ap9HtpLLLqp0N83XhUq geM2pDJNuC8ql7RRN3+lMQaZwyYiEWqadPywZokpld4xj3K1gPZJE2mUfFR4xJbL KGR1GJEumHf5TpNB8gkvSwZRxxzH960Shw4lbbw88XHik1lc4f6wJ09rV2XA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1659577771; x=1659581371; bh=kex8moIkjoQBsibiUYcTUG9NvFMfXOl9M++ HKqjwPU4=; b=Xsd43SFr8lTIm5n+S9rzo3ft+vS4RftpDAOAaaqUXa1syGMzqEp KT0Zckbb+DA0BdFkc4qjqdsVvrnEdlhS/ygNfpd5iLvGVILmL0B1kHGsnk8Bqd+Z WLvawT9AETFsR8TMohRc5Lelbod/Cr62VgSwAOvjZ2dEMrf16QwZTpjYUt+ZF4mJ iAOmB79TWCKeDTVPi+AX25beUnM1l9xgqESCbTe+DOC2Z4tWUMS0Byh/sfyxQqOK 211W8L8S3napf4XY5N8AmLrHwAhHbAPgOO2tIjBYm2ip8EfESh2dueIr8BD0linJ bNBSFFEc5jOE2QW399d47Kn/E0itGSeTeKA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvkedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheplfhimhcupfgv fihsohhmvgcuoehjihhmsehjihhmnhgvfihsohhmvgdrnhgvtheqnecuggftrfgrthhtvg hrnhepvdetffeuffeigeeiudehkeehkefhffduiefhtddvgfdtgffhueffveelteeiudek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhimh esjhhimhhnvgifshhomhgvrdhnvght X-ME-Proxy: Feedback-ID: ib1a94636:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Aug 2022 21:49:29 -0400 (EDT) From: Jim Newsome Date: Wed, 3 Aug 2022 20:47:17 -0500 Message-Id: <7125a9c1de14dca78c45d16ddeb29339b49ffde7.1659577396.git.jnewsome@torproject.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659577824; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=kex8moIkjoQBsibiUYcTUG9NvFMfXOl9M++HKqjwPU4=; b=tp0FVc8wr2UQrrGYckY+WrTjOafs/nSIBdPebfCqICAm+xaE0fYNdbU4l5gmlPl5uWW17Z dcGm/0c85+PDnoxHvlmtgBhq9KJcqNOobUqVzyX5GQMz039rj8RTiSR9Gi/T7W/suA3D7V 439wbgTpiehIJ7vbdwd4wJFsV1LXpUzQC3mWxAfpcYR467y9zlUyGVPaXQ9+/0wuY/tJrk xQrxCSP4/oxl5kAIa+APcFjKjeWnxHClG6x4Kc0AYsFv/abyfSw26948hiKxM5BoJbvMMj GzU7Po+y4ueyn9HNZdvTIug1+T0FUyl8uQoRVYwmNDqFNRY/9uBfdZtzFZOf7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659577824; a=rsa-sha256; cv=none; b=UAX8ooA7KvFFsBk4u19Ffdqq86zIRubYxSjXNOcXGsYiLjbvyr4q+agBSNgrDpjPa/B8g6 soAqMby+3MVFAvbl0LfB1ejc1aRQeQOXNAXI//p9hFtgSGF0oisBuU7PMNya2mB5ixsD2n soGgCm+eFMTDTNRBu48GGfBuD7asZZCAxIWvLv7K0p5liEJLy4nLFeMg358KcII0LffPZX 7N3TwtwtPGq3x0WlXCo07otqxLhjI/hhVMONTBXIF5X67P1iLkh8QSZiJg6btrBSnpLtxb Il1/VUaJUZLf4B3/VkAqqc1a7a8AfyIC07rdjKDkm0FN1HRIrJ2KQ4mdZ6HbHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jimnewsome.net header.s=fm1 header.b=zSxJ+daj; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Xsd43SFr; dmarc=none; 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" X-Migadu-Spam-Score: 2.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jimnewsome.net header.s=fm1 header.b=zSxJ+daj; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Xsd43SFr; dmarc=none; 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" X-Migadu-Queue-Id: 1E6351F768 X-Spam-Score: 2.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: Lv4BDXomv2rr From: Jim Newsome * gnu/packages/rust.scm (rust-1.57, rust): decouple the definition of rust-1.57, which happens to be the current latest, from the definition of rust, which is always the latest. The latter re-enables tests and extra components, which should always be done only on the final public rust package, not specifically rust-1.57. --- gnu/packages/rust.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 759bf9a631..d85acef696 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -540,10 +540,18 @@ (define rust-1.56 (generate-all-checksums "vendor")))))))))) (define rust-1.57 - (let ((base-rust - (rust-bootstrapped-package - rust-1.56 "1.57.0" - "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim"))) + (rust-bootstrapped-package + rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim")) + +;;; 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 +;;; required to build the full Rust bootstrap chain. +;;; +;;; Here we take the latest included Rust, make it public, and re-enable tests +;;; and extra components such as rustfmt. +(define-public rust + (let ((base-rust rust-1.57)) (package (inherit base-rust) (outputs (cons "rustfmt" (package-outputs base-rust))) @@ -682,12 +690,6 @@ (define rust-1.57 `("procps" ,procps) (package-native-inputs base-rust)))))) -;;; 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 -;;; required to build the full Rust bootstrap chain. -(define-public rust rust-1.57) - (define-public rust-src (hidden-package (package base-commit: 8a2b5f3f587459c11c037b9d372b4070263baae9 -- 2.25.1