From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iPQTAbIsq2NlTQEAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 18:34:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +ENkALIsq2OlBgEAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 18:34:42 +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 AD93E38E74 for ; Tue, 27 Dec 2022 18:34:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pADqC-00075q-Sn; Tue, 27 Dec 2022 12:34:16 -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 1pADq5-00073q-U2 for help-guix@gnu.org; Tue, 27 Dec 2022 12:34:12 -0500 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pADq4-0000IH-7m for help-guix@gnu.org; Tue, 27 Dec 2022 12:34:09 -0500 Received: by mail-qt1-x82a.google.com with SMTP id i20so10898969qtw.9 for ; Tue, 27 Dec 2022 09:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kben2Nvy63GZbIytCRavvtHY/0vKYtVp95z7Fl73jII=; b=ou6gv/uhoXEr8bYNUKLpNE10ShxMPMLEA0272ksxEDCmX5XYEiuJWtdnrON47hd8st /WMN9sgDyGL1zG++O2eOCR6JtJSBxd8vDMsNQG3tkNfLc+shx1cU6swamltPae7vU7nd E6hH0Qnv8dxkbbPvuTN4E5wthJIjy8tIVFFYmwucZAi3jGJnYbPAeTksJg3sM/3S/hSw wKtyJEVYswHsbs0Kh9TLVMeayJEeEkrYoWmv6iPjvwCeNr8rxSx5UppEpGiG/onOrtmH /OqJTwM/vwZsdQwmSStW8p+rJ0x+mBpQzURWoAYwRmQWbSXs38HOv37gBX46swKkSHnq 8Y+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kben2Nvy63GZbIytCRavvtHY/0vKYtVp95z7Fl73jII=; b=SOrYXe/NznSvnSsFavx3/OgxvKSPCQVBjrJGo6b4sS4I+2CfMhdZ9NeAIOpXLxAX4t 9qxcTbvr1PmpJHMD5iO9WGIkKw8VU3drmyRZ2LYCxUB83fHQ9Ajn/hnwi/BnDn8IEjHy RY3VRUj4lI+UEhA3+97LFFTIwVc0hkarbL9oZK9HLNHQwpXsvE5qxq1R79w+voT+NWpJ jAf2goLe4HZMq9wqScDcY9/Rek7rbC+jNDTgS/CosSOxdhkiOhV1kCYOY6M+4lJfiKiV SNZlLVNKkH8itoipEWR2w+z5jaAz7r1V3bPmSK+bYW5qrzwqN1n6ucl/5N6etBs+4eh8 1a6w== X-Gm-Message-State: AFqh2kpCB2HyhapSgtXFSlUZ3vEZeLEVNZKS4ApbGAQeEYnvv/OHSsOy YGTfwTXGGaiO/0ZtgTToMYcmN/vAcoh5jKxS X-Google-Smtp-Source: AMrXdXvgCLAQamv+SJl6V3t21woqPTCvMQzZ85ohKw9KtyKD/X5eNuIM1Q7CppRzBdDOqvbPEJ55gA== X-Received: by 2002:ac8:47cd:0:b0:3a7:e4ad:5499 with SMTP id d13-20020ac847cd000000b003a7e4ad5499mr32399771qtr.32.1672162447207; Tue, 27 Dec 2022 09:34:07 -0800 (PST) Received: from hurd (dsl-10-129-132.b2b2c.ca. [72.10.129.132]) by smtp.gmail.com with ESMTPSA id g8-20020ac81248000000b003a69de747c9sm8615480qtj.19.2022.12.27.09.34.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 09:34:06 -0800 (PST) From: Maxim Cournoyer To: phodina Cc: help-guix , Efraim Flashner Subject: Re: Specifying rust version References: <9HPT231QhmBHf-sXMAX0HcaUXokVCH-pKqntxd3QLQ4aH53EYk4soFhngqkdfsasYo-0g7JFk8zZhMInQgGwQBRsd19OWvc1y1PadBYTjlg=@protonmail.com> <877cyc7vuu.fsf@gmail.com> Date: Tue, 27 Dec 2022 12:34:06 -0500 In-Reply-To: (phodina@protonmail.com's message of "Tue, 27 Dec 2022 16:00:35 +0000") Message-ID: <87y1qs699t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.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: 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=1672162481; 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=kben2Nvy63GZbIytCRavvtHY/0vKYtVp95z7Fl73jII=; b=XWEdABxwsBKhF0spK9gsBQH48E/uU69TOf03L/Z3IM7fWMJ9T+IlOPAJ4/23xazB/vv2nM LVlZ9AuddmQFyNPukX+/aDdP6/OpvtH/gvkWg/0iR3cZikJmeXklJ79D+VMnCQOTNOU+2y YeKJR3g5c5LSOLjd7dNSe2cmThTkpcM2A+Trl8JwKruoETt4+8VRR+sT+gBW8cqzaMo86d vN2aXwgAdkhv4eZQjzzKWk0L0nuW+2gffRWgVOTKECaLLeN9kEp9v/PjTn1eg9letDq7oA CZnZZyGrTY/F9epuG+Z5QQO3B3ZixGlLWczIKRVAHA4BWUugsrnnCKzs4no7Mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="ou6gv/uh"; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672162481; a=rsa-sha256; cv=none; b=kp/wEr3jl7CD449ff7ZwnfZJTJgGIkwcEYc0wiSGkFbP2Uhjy4M9Ou3CJL4Y4EB2HnUPSl W5wqYn2xBCgmGMWpFL32yVWJFO5Mau3BfHtuKN9rVCBAmr/pXgI9jP/PXZREjbvDnRBC7a r4U0l4yGRhnN6msnQYfgrM95zVQwQ9bzbbRTvKns3Wb73Ifpow/SsHX6exl6TkuByk25rA u7khRaJIq6HeSEbPgCisXQQrUSZeoO0I4tbAhTE+pAgB+7yCuGSH+kZImMtAcrWK307cXy tUHuqlwq/9YywdEsg8ImJbhXIsi05UXzFcfyK5cPuLx3vRrC5gAHPJu/CQ2XjQ== X-Spam-Score: -4.61 X-Migadu-Queue-Id: AD93E38E74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="ou6gv/uh"; 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=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.61 X-TUID: rLEniz85Vxic Hi, phodina writes: [...] >> It's typical that build system or services expose a way for the user to >> use a variant of a package, but in the case of rust, I don't think it >> should be advertised as a way to use different rust versions (given only >> the last version is supported by upstream, e.g. sometimes fixing CVEs). > > I have to agree with you that this is just an anti-pattern and the #:rust > should not be advertised. > > The best approach would be to add new rust version and switch to it. > > So do you think Maxim the `#:rust` parameter should be dropped and the > documentation also removed? I don't think it needs to be dropped, as it can be useful for experimentation. Sometimes, newer rust may be needed and the work to update the entire collection (with the risks it entails or the build time) deferred, in which case it could be used. It's preferable though to do the work to package the latest and greatest rust and rebuild the whole collection with it, on a branch though. I hope that helps, -- Thanks, Maxim