From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QLsHOQLI7mXCAAEA62LTzQ:P1 (envelope-from ) for ; Mon, 11 Mar 2024 09:59:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QLsHOQLI7mXCAAEA62LTzQ (envelope-from ) for ; Mon, 11 Mar 2024 09:59:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=WH6Glb4z; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710147586; a=rsa-sha256; cv=none; b=pQVEYDE4Z3YM+/CJFqBALsyO2GGV48v+Q56o4xdP+Fast1cFl+5DlNGAraWFu3yC7DVMiK dTzjTI/+CwRJHi279bP/bTyhJ11i8Mb05kqeFizwu0V7mqEx1j+zM9fgVLCDzJum4KzDjD 45fQnU9yE+IZsyGnAPa6fjtxKbVh5NyBMf6U7FnsoKgxpzDgo5a6RxX6zeqHpfgfrVDp/P CFlIHFEAp/NNAxE1OgrfGLlBs8E/JNkpAaheO6UllVQ2wvAzfc8OCysR/ozNx95X1dsnn1 lgHRFTKJNK5u/2Cdk7bKbCb0waqdSDy6sJqXQ1HZnPBkwtvMV3cHmaZ8Z8YhZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=WH6Glb4z; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710147586; 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=LvOillg7mbhm6F9zCHCrLsfHEvEYDj568TlXQfl4xxg=; b=UQrzC2S8UcrJCpRHkAqsrS1S0/7yHdn+LkV4UAxK8TJjnAEXaweyx3tpUfv2NlRItzHyC5 GhdFMAHZ6oYl0hruk/IdgACtLOZZ9t+sWltGMKyeFoSg4zbvLaKEG3t0jpCoKzIobVbjyQ tPAumD9y1zhyeYXRUDvLCTqN7tTsqFfUfRzflGRSYJarGFSX6pEmX0KtK0m8C2k4Beg3rb AbEPmJ1OrsvMRxgsHSisETFQuu/vPx0OT1UmW8xF6I+jfQ4vaDvz0G//GQ7AwCgsvxASr3 WXnBD9dhXSyKMp9wI1ookwNTtP2BHxJqmieef+Ib/SxQzHFzqC34CdqOATkfJg== 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 D0E8B7456A for ; Mon, 11 Mar 2024 09:59:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjbUn-0007hP-9q; Mon, 11 Mar 2024 04:58:57 -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 1rjbUj-0007eo-Do for guix-devel@gnu.org; Mon, 11 Mar 2024 04:58:54 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjbUh-00006a-5F for guix-devel@gnu.org; Mon, 11 Mar 2024 04:58:53 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33e959d8bc0so726682f8f.1 for ; Mon, 11 Mar 2024 01:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710147529; x=1710752329; darn=gnu.org; 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=LvOillg7mbhm6F9zCHCrLsfHEvEYDj568TlXQfl4xxg=; b=WH6Glb4z5V1wbJOuTGCMZHbXMezIzOIByVflmPZq0PImulq5bJrZSGUWXT6Pl5/XkA oTXYhli1BkP6+aWuzOmE39QG66wisapI8WkALZ/BXHggs32w17jDbj6H9bFwuuGpUwtD b4P+hoPqF1RLzVM11XyuZWfC59r279Yzh+QU6mEmq3HR5koXvrkpwP+X2+3uapSPfLpn KkOs+VZS8zJZtv5YLIz6iuyCzuaxtL4XJ6cRY9IZ9S0CuuZtSoJZb8Kz5UHBWJLKTZxQ mJI7c+ukA2CWRwOU4HrLnsl4t00Ti4NHJULuTb6AA3rJtpA78jK1EBV8eS/wfdPb4wK/ QANQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710147529; x=1710752329; 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=LvOillg7mbhm6F9zCHCrLsfHEvEYDj568TlXQfl4xxg=; b=TeqCfmiC04sldw9SVQvk68M8kBh3/I2Pq2S+920vBLM5NeRKXSJOknIpNjnNBrcWs4 4rKb+a5pva3d1wfcTp1JB4zMIgIu+L6U396IVN+3xB8amq+xzWm0cEvXKOmMGSAC1IwX AC2k1QC2xXNDSfseTk2o/zrgps0BdRO+kIKOWWiwPQaL3fOnNj8gyAyl4ZnDCjdlZ/S8 pzPFLI9aU7CfA6BGqrvmW9UeOxqgpV71P3973YYrjyo552tZB3znonMJcHfead73pRbp nM8WIO53W+M7eQQfd/sp3Cx9Gd3DMd3xDW2R6Q/PLGzAegqBAzuFILoHbNWY+vH3hBVU uAFQ== X-Gm-Message-State: AOJu0YzbKIwGfk3w9Ctn3VMLICGagPyQ2qpwIRw5AoVIDVwihG9ndtFD Uy8DGsYjRLQK9VfF2C3fvXkxJbYuF+ajP7uj5zDLjMo9bDfVmUfUfP3+h+9y3t0= X-Google-Smtp-Source: AGHT+IEsR147eE2S4lRSW4x51S6fbDWh5zDMCZBqsY/wBpfyXHQJpMpxRBKlegI6bsTSf+XJ69ZfVg== X-Received: by 2002:a5d:6a02:0:b0:33d:524f:7bfb with SMTP id m2-20020a5d6a02000000b0033d524f7bfbmr3276882wru.71.1710147528741; Mon, 11 Mar 2024 01:58:48 -0700 (PDT) Received: from localhost ([141.226.12.177]) by smtp.gmail.com with ESMTPSA id f4-20020a5d58e4000000b0033e7a204dc7sm5892395wrd.32.2024.03.11.01.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 01:58:48 -0700 (PDT) Date: Mon, 11 Mar 2024 10:58:46 +0200 From: Efraim Flashner To: Richard Sent Cc: guix-devel@gnu.org Subject: Re: Creating an unversioned rust-cargo symbol Message-ID: Mail-Followup-To: Richard Sent , guix-devel@gnu.org References: <87y1b2q4dv.fsf@freakingpenguin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HLo6SGZ7AFd8V9wF" Content-Disposition: inline In-Reply-To: <87y1b2q4dv.fsf@freakingpenguin.com> 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::42e; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.88 X-Spam-Score: -3.88 X-Migadu-Queue-Id: D0E8B7456A X-TUID: tqZkKLe2a0yT --HLo6SGZ7AFd8V9wF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 05:42:20PM -0500, Richard Sent wrote: > Hi Guix, >=20 > There isn't an unversioned symbol for rust-cargo defined or exported by > the (gnu packages crates-io) module. I think it would be best if an > unversioned rust-cargo symbol was created that was equal to the highest > rust-cargo release. (i.e. rust-cargo, not rust-cargo-0.76) >=20 > Alternatively, since (seemingly) only one rust-cargo package is present > at a time, perhaps the version information could be removed outright and > only an unversioned symbol used. >=20 > The alternative, (specification->package), does not work in all > circumstances (primarily with -L) [1]. This would also make Scheme code > that refers to rust-cargo cleaner, either not needing updating every new > version when the symbol changes or removing potentially awkward > (specification->package) calls. >=20 > I see that most/all of the symbols in crates-io are versioned. While > from a user perspective it would be nice if there were more unversioned > symbols, rust-cargo is /probably/ the one that needs it the most since > it's so central to the ecosystem. I can also see why versioning every > symbol might help with development given Rust's release schedule and > bootstrapping chain. >=20 > This would follow the pattern of linux-libre. >=20 > Posting to guix-devel instead of bug-guix since I'm not entirely sure > this is a bug or working as intended. >=20 > [1] https://lists.gnu.org/archive/html/guix-devel/2022-12/msg00310.html >=20 I've added a rust-cargo package in rust-apps.scm and a note in crates-io.scm to remove it with the next rust-team merge. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --HLo6SGZ7AFd8V9wF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmXux8MACgkQQarn3Mo9 g1ExWg//fJYxWkjls659QCoWGZy5ZBDPaSAKdX6kcU3YZarCfkV7DJ/V9Nh+j7zb dkvYl3FzNTigJObJOGw/PzIaMEpZfLEw90/kUxwUY3Nrxv8HLJnv5lHf5wGX9vA2 3e9QCoFln//c01s6dtOoga2sfej80r3KhgdXfiLRF5XKk29THBrCTtFMJC0G6Pos TLPOltn3t+fPmlTkD5NtKg/KPIF8gYjf+3YmXBCm1qptCm6uwk8QxJUGEVfW2SC7 2ovhCNZmLSlC5Ky+ZmhfsV1SjHWJaBe/wEDtA8IfPJalhpNeYfgbNI7vvNJBcm1+ pU9Ujbk4PPXDAQqueavUB1BaFTWjXwDGQissePo0YgEWH1cI/HHIBpH+ypdnck4Y caa45JFP93RmzFn4bpur3nUFHqIuDiQl+p8o4NxI7KYdeRJfiScVfB3Knd2eas9Y /6jNcq9f5Q8NxCzpsXIBAh4iU3Ci4i6NUsq6Gut3/bK5P3LD8UKRxcihf74N/Qyd SV9hSVUS1DiwHK3ARl8XDdRYHjnV5OVZDhgSUpFu1V8nkQcj3w4jexXeBVS+2voX 0PZ0wExz3FNpnsfpfPyRm9dybDXaPx/UZSVVPlfYvHrPfCcijshH9faCpg0q8MWI K7m2jZCT8npwpZE9d7nZwIX2Tp5WvrnI2FmLViCGyoBlSrh2Trk= =oICV -----END PGP SIGNATURE----- --HLo6SGZ7AFd8V9wF--