From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mLVjNcKWqmMWjQAAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 07:54:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GOJmNcKWqmNXvAAA9RJhRA (envelope-from ) for ; Tue, 27 Dec 2022 07:54:58 +0100 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 56660ED3B for ; Tue, 27 Dec 2022 07:54:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pA3pt-0002qB-0I; Tue, 27 Dec 2022 01:53:17 -0500 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 1pA3pj-0002m8-Vt for help-guix@gnu.org; Tue, 27 Dec 2022 01:53:09 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pA3ph-0008AD-Nw for help-guix@gnu.org; Tue, 27 Dec 2022 01:53:07 -0500 Received: by mail-ej1-x62e.google.com with SMTP id x22so29995541ejs.11 for ; Mon, 26 Dec 2022 22:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=ld3SoHMUvtx3bo/hb+OArM/lAO8CpUyllM0Xwx4YK14=; b=AREGenwuHqnk6ZnAYeYZqMZjcZ+ja/XpnZprW3FBRIfGa+Xt6y0yBaUkAcLrUjt1ya MltRB3wwL3IUdtV2pCe18CLSAnV4XdtT5l1wTfU4J8fPxsbILUP4x4p0Qk+uPwjmZI9r +nFVz7VJDgzHvYAmR57KmtmKDNnUHEAfQ4Ah+qB8UDn2XsSyb1lCF0HtReBbY4etelPx DY42bJcGiIejOVArkU+JJ4zkS8ir8CjumydLyYgO8cAxxrEUcNGJ61eRBoN3qqcIYhrf ZXp44UeymVJYLTwwFAAuWFuJfwooYWkmNE+LMu7GqoUAzCR9JyklYv0p0VNMWsCsIKzs C7Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ld3SoHMUvtx3bo/hb+OArM/lAO8CpUyllM0Xwx4YK14=; b=37oJSWaz3yHTu1BECiq2AzokLAB+dZrOta94htQ6qSFPhK0FEWPcSU7CVrfbtQG9CF Xw1b9jrsMsuxQSW42B+W7L6fgQBGoM+wFPw0iAIMGM0XdxcDvKPkrusW3I0weYwSrrSt C8EODJC/cDSqtW+02BoNbmTj8+jub5QGMl8JXVggjdcsZQ0M/hlYCSPBdyDlUXlDoqGd fgsr66MRQBKLTu+VD8FpqR8RvXZ6/qwBhuM+oGldyB8X1l8hvfYnigtnq41XK+R44HvZ ZlWyPjPVIoMs9sDS0c8YQ+CHwrTqRgXpCXZUDBbQLT9JKvXYJ0TR3Fx4T2cy8uyermYx 1ADA== X-Gm-Message-State: AFqh2kr33pyGP88l6QabLCEmLAeKiMep8jWu1rVRx5hyUAIqUsJRsJaz yV9bT7HlEzUmeQ3ymGHp+6s= X-Google-Smtp-Source: AMrXdXtAES0WuRj7hDL9epBGGKiOhRkbczI7q/RSQiRD5RmLqfPBbByJuF5LnPVF2MSYoc0KosyhAg== X-Received: by 2002:a17:906:94f:b0:7c1:4f7c:947f with SMTP id j15-20020a170906094f00b007c14f7c947fmr18365465ejd.72.1672123984106; Mon, 26 Dec 2022 22:53:04 -0800 (PST) Received: from localhost ([2a02:ed3:915:b200:b62e:99ff:fef0:7bc0]) by smtp.gmail.com with ESMTPSA id xa21-20020a170907b9d500b0072a881b21d8sm5649833ejc.119.2022.12.26.22.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 22:53:03 -0800 (PST) Date: Tue, 27 Dec 2022 08:53:01 +0200 From: Efraim Flashner To: phodina Cc: help-guix , Maxim Cournoyer Subject: Re: Specifying rust version Message-ID: Mail-Followup-To: phodina , help-guix , Maxim Cournoyer References: <9HPT231QhmBHf-sXMAX0HcaUXokVCH-pKqntxd3QLQ4aH53EYk4soFhngqkdfsasYo-0g7JFk8zZhMInQgGwQBRsd19OWvc1y1PadBYTjlg=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PCpswBIJug6sCRbo" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=efraim.flashner@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672124098; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ld3SoHMUvtx3bo/hb+OArM/lAO8CpUyllM0Xwx4YK14=; b=OpqIVUQC0ARcizpoimrLSQsas/mzqeNWWM7pyn5GxXPkIFXccOqOS+97tukAMn7vT+UBbW nIYrTqiA3Ug8XY7vvviYPwBzkA8HVQqDRtqeH2zgFBGGj9nbAaNBJoHn7n8/XXMSAAf79e gLhJTNf/M/MBnVKPEZgKetsPTMoksykaORZZz4NsFBG0Lh6cYJO+MSI2HnVtj5yvFwRRS2 aVFiCoCAD4N+q/332LwQVrVDTYr1xEW8wvoGlYFC3WkXkHHN1XA0/+gg+feT3Cu882+Cq/ rUTbW1kwMhxCGZb6cKaNKzczOicEp3LGq6avlbEKLQUrhEBLpXEgViyO11Eabg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AREGenwu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672124098; a=rsa-sha256; cv=none; b=azUMDOHtYSJHEXCAu+p5YF+755j+EJpKKlSmqfwkAIx2PU2pprgRYhzt6h5qFw11QnxMm5 txmGRl+tOuJSp0SwiMbm1oeqgERk2y6N/iRoQ6tUFDwbD4f+r6CXJXn6Sb0BDyjFRYYvY6 pEyW0kPJoTITihhOSxWYtEMWH7iXwOqmKaudp9meRES4NuOr/hn7yBHv3gXT008UPyf1+N 0I9LmrCXNXX8iIg7l7//OB8qI8sBXRHlxeIu/1CKfmVAJyCHwXroz9l4USQdgMlWxJqjHC 9vR3NuTJS43CVBMTd3aljtED4tdsgSJyzE+GDiiXyyv7ZHJv9vc1NqjUi/YNKg== X-Spam-Score: 1.07 X-Migadu-Queue-Id: 56660ED3B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=AREGenwu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 1.07 X-TUID: x0/0O3hVLjB6 --PCpswBIJug6sCRbo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 26, 2022 at 09:00:40AM +0000, phodina wrote: > Hi, >=20 > the documentation for 'cargo-build-system' [1] refers to parameter > '#:rust' which allows user to specify the Rust compiler version. > However, I've found this commit > 9635119a61a9ab1b023558727fcdf1816fdc7fc6 from Maxim which makes all > 'rust-.*' definitions private. Is there a way to specify newer Rust > compiler? Something like 'rust-next'? The package requires version > 1.62 but the current is 1.60. Also both version are already defined. > What's missing is just way to select them. >=20 > [1] https://guix.gnu.org/manual/en/html_node/Build-Systems.html >=20 I checked gnu/packages/rust.scm and it looks like the rust packages aren't hidden but actually not exported. If they were just hidden then you could still do `#:rust ,rust-1.62`. Since they're actually not exported you need to use the not-really-supported `@@` to refer to that variable, so you'd have to use something like: #:rust ,(@@ (gnu packages rust) rust-1.62) Given how it would be useful to have access to newer rust versions I think it'd be worthwhile to make a post in guix-devel about making the newer versions of rust use define-public but be hidden, so they can be used as expected for the #:rust keyword. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --PCpswBIJug6sCRbo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmOqlk0ACgkQQarn3Mo9 g1HzvhAAjKCi+Eibj7mzHH/BUPfgy3FZLAflvPGd28VFbqoJnsDTu10SXsR2DFj6 xhLx1Jca8miGE4l0qWbLzU4rtOmRH8Ax7twguWgwDFJTSbka7of/yUlryoW6NDA1 eVINp2m7awf9Nldchk3FTphtM53klbxxulfUJ5psf9ju4/hvrJCq3o91x8uf2eH+ rO9tEJB+Z52yU0r3n/Yj7tkq97a3EhbRyrqoYC9ydQavFE5kD5C225IBPIeKozdv e3b2oMPWhBNe1GtbDrHNAj6ttwTdLKhu61/rbHFdBoWGe2UW8ul8xJV9ELi5aAPj vpCyD5OPTFcbQV45M/Wx6XPdBPA1ZKyDo3Ls5A2/kmRBwJ/eLPtnN93hN8KhiPHH oemnCDZodDO12yzdTSMbFMAFkVnGVVRcSw9BwaPHtgtrJ2gxEdgXGYPLUwuzeWTa kM8ZJNyeotgPzpT0vzf5hVbzUzYkO1INh8NxBKkIIXs8krMAUIkdm+BAn0j6QXss AKeUOqVi8XrQI+bL6UyXRzreKjKosyGIxqvF77hDOMYAVDk4xe4Lw3g/ZeDM9/G7 m86pdV34JSYw9x0er+f0oAcy55ba8Yk/Ya2cuNz1t4QtSh4XmnLyfp25sv5cBO7T /pWLhooc2DQMBTZLLzAZFxlMi8oHHMx0hx7xBHE/Gct5NxT3ZUA= =xn5R -----END PGP SIGNATURE----- --PCpswBIJug6sCRbo--