From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2OXKEjXcKmSsawEASxT56A (envelope-from ) for ; Mon, 03 Apr 2023 16:01:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HOJEjXcKmT9cgEAauVa8A (envelope-from ) for ; Mon, 03 Apr 2023 16:01:25 +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 04650E8FE for ; Mon, 3 Apr 2023 16:01:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjKkD-0004yR-SP; Mon, 03 Apr 2023 10:01:14 -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 1pjKkA-0004wy-BR for guix-patches@gnu.org; Mon, 03 Apr 2023 10:01:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjKk3-00082X-32 for guix-patches@gnu.org; Mon, 03 Apr 2023 10:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjKk2-0001xb-AG; Mon, 03 Apr 2023 10:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62643] [PATCH] gnu: rust-1.65: Rename package to rust-next. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 03 Apr 2023 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62643@debbugs.gnu.org Cc: Simon Tournier , efraim@flashner.co.il X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by submit@debbugs.gnu.org id=B.16805304507507 (code B ref -1); Mon, 03 Apr 2023 14:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2023 14:00:50 +0000 Received: from localhost ([127.0.0.1]:44877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjKjp-0001x0-WE for submit@debbugs.gnu.org; Mon, 03 Apr 2023 10:00:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:49092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjKjo-0001wi-Jq for submit@debbugs.gnu.org; Mon, 03 Apr 2023 10:00:49 -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 1pjKjQ-0004ke-OH for guix-patches@gnu.org; Mon, 03 Apr 2023 10:00:24 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjKjO-0007lP-FO for guix-patches@gnu.org; Mon, 03 Apr 2023 10:00:24 -0400 Received: by mail-wm1-x329.google.com with SMTP id r19-20020a05600c459300b003eb3e2a5e7bso18194730wmo.0 for ; Mon, 03 Apr 2023 07:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680530418; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oC16YSy9se3OhprzcHyARg8IHd5EXvYfL3+63XkXKLQ=; b=jmot/E0rF2exyD0tZc+kTtoerVfk6ypFUfBbhNoFdn3nN2pbVkUVAcqIWk8c+fGFX/ xpINi3LHvnvNJ0CadD6TTHm19cV2HKaVji/0rfmjUHDasFB91xUv6rHVUpmYDbfgdWzq 9NZRtVrIqVbFBfmw3X8S0DKbuMh++/caG7tUj0bHgTzqAkSUPVrZH9Or3OIDdntB6j/R pt9zd7hfonvAUdRa5CqtNt3+Mn0TVM1V00VlzX1h5/FHz6MSIDfMcIv4ubeq3LS7A5mU qTdezy6KS2Z8m9s1Ke6iBsVkBSEAg0hwdweKynf4ZEGiUU3qLIBYE6VZpLgRLCsdoOH8 PA0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680530418; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oC16YSy9se3OhprzcHyARg8IHd5EXvYfL3+63XkXKLQ=; b=VfDriayjzEGPXcqAh1CDoSLMNxmDikRPLCE64MUxyPASsnOgXjFsxkYIx1F9pRZPzx RhazlFjGWBHpQcpr34tUJh3P7ogZpx97mzyNoiCXieqv+0DnCKguI4e7BvYzOKAWULzG OAtdplJ4QH/Y+YGD0I+vplE2zpsvJLdsSI+hMXAwTXDmLerTHGuXZRY+PDhoEGDSvkTL 4ioV9GTW29ihocBk0rRGWqorcyY3+xSZbG8u8aUJVwujbwEVpOf6XJuKN1xWFPEq9NRm q36OD7LBVwswwpU6BnovZFY+xGOGtMmIO0jLf7uo4zKsfjyChlSBgvzwJtZ4E501qBM8 Tp1g== X-Gm-Message-State: AAQBX9cIppqkhav3WBKa4pJxJbBsFJmvAl/VGtuywDdLl0lNUvYxcY2x fO88WHVqgr8pchIdXneci7raX/2EbEw= X-Google-Smtp-Source: AKy350bheqizf7eJr9S0T2Z1xpnAMAbF095ttlpzeFWCpINqiNENcCP4iJFfF9No+EtWY/loe+DENg== X-Received: by 2002:a05:600c:3c9e:b0:3f0:5a8c:fee4 with SMTP id bg30-20020a05600c3c9e00b003f05a8cfee4mr438957wmb.4.1680530418433; Mon, 03 Apr 2023 07:00:18 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id i2-20020a05600c290200b003edc11c2ecbsm12234456wmd.4.2023.04.03.07.00.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 07:00:17 -0700 (PDT) From: Simon Tournier Date: Mon, 3 Apr 2023 16:00:11 +0200 Message-Id: <20230403140011.294367-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680530485; a=rsa-sha256; cv=none; b=MiPeuZC2eFhcm62oo+/Ez6aXkKeWWBxCTvsGR+WjJOSml4MP9vQKP0P7FbyFGmNqsFt1rX iNVEVpoooCcd103EMKoO/pWQLGMO6cHPFad0TG9K90R/JD2I+gd4wfvSZf44Ynwc709a6G NBOarCVHqoDfUJfl+g8QIuX202soH/B+95Z8D8xj8I9SqlZ3qSb3z5xZWMKN1F90KYYhbS bDju2u/zYJI4tIwxfW2ZO8ym8pJSHqtsby6I6yxtt+Y9V8QGhLcUe2xYVY+Pkwn2tLZjIZ vnvvfPbcJq+hJbF2W6MCi1okz00Z8mqwFsoegtc13B4KzZGRPXrWjQfX7XUYpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="jmot/E0r"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680530485; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=oC16YSy9se3OhprzcHyARg8IHd5EXvYfL3+63XkXKLQ=; b=HFSjosT/l1ShX7X9zKybBWUWUneanmmbRKGpjmNcaBz5bylpmojhFRpSrjFUoOXHK3AJZz lipmFeTC4tyBWlaAdzAAXloFu32MyWORf/+G67NmojrHqbPqRqFsZ2JSTmrT89o71a4GQJ UICXFQyB7me9pjfC4NWrEmE8vkrE8Rs5e9vEh4D5khT0JzUyLxjt0Z+yoqf+e3JWEIE1a2 gTKD2Gfo6by/9t/vPYWfKfScCQsLSNuiThpeZ47/exVbuyZDrAXyKdXW3pNPMQOHtc2LCu TC8dGrs8eGwMW818zQOS9BsH9FOTEKoL1WwgRoqDyI2vaeY/2gCYT8rR5aNVlg== X-Migadu-Spam-Score: 6.08 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="jmot/E0r"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Spam-Score: 6.08 X-Migadu-Queue-Id: 04650E8FE X-TUID: 2vYwa0rR6gI4 * gnu/packages/rust.scm (rust-next): New exported variable, formerly known as "rust-1.65". --- Hi, This patch allows to install the latest Rust, here 1.65, while the default Rust used by the cargo build system is 'rust' (here 1.60). Instead of, guix shell -e '(@@ (gnu packages rust) rust-1.65)' it allows "guix shell rust-next"; similarly as emacs vs emacs-next. Cheers, simon gnu/packages/rust.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 133c46fb7c..f39a7faac9 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -641,12 +641,16 @@ (define rust-1.64 (string-append name "\"" ,%cargo-reference-hash "\""))) (generate-all-checksums "vendor")))))))))) -(define rust-1.65 +;;; Note: Updating Rust is a core-updates change and so the package defined as +;;; 'rust' cannot always be the latest version. This package 'rust-next' is +;;; the latest version of Rust. +(define-public rust-next (let ((base-rust (rust-bootstrapped-package rust-1.64 "1.65.0" "0f005kc0vl7qyy298f443i78ibz71hmmh820726bzskpyrkvna2q"))) (package (inherit base-rust) + (name "rust-next") (source (origin (inherit (package-source base-rust)) base-commit: 1d0158ab9036cff7737cbfb1678f876ae67c4ac2 -- 2.38.1