From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4BMLM9T4V2fmawEAqHPOHw:P1 (envelope-from ) for ; Tue, 10 Dec 2024 08:16:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4BMLM9T4V2fmawEAqHPOHw (envelope-from ) for ; Tue, 10 Dec 2024 09:16:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=inria.fr header.s=dc header.b=DL6nrxkR; dmarc=pass (policy=none) header.from=inria.fr; 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=1733818580; a=rsa-sha256; cv=none; b=ez2SYtVVaJ9TVFt4yC0Z+LZsiq/G0aqeHq2AAia3qofb2uZxD7UU1Y0IRpXNeZB4jZOBUD WkkpiHuLw+f13gEs87/KICFZk1q2Qt0pITdZLK7HNqQOTxsz56Axqx7yYaMrsmoGC6sJyO 8KhZUOSdAqJa8bUJI3P4dhkaMOA7P674DYH2MtMiGUyPAdtdDgN6OiXFnst7Z8NPsscLPd AXhKhVIHHGIudQ9V0soWm2GIcZKspR9V9p6RDE+q/jzl4BPpvq41rGntfrgb6jj6qKRmyt HDNZFTW5qkbvrtbQ1VF/xgKllpuulW6P5wgWcLjVAnr+i3ln0/tOJmNPEypr1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=inria.fr header.s=dc header.b=DL6nrxkR; dmarc=pass (policy=none) header.from=inria.fr; 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=1733818580; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Xn10gDsXVKuFNy6sV4PvAsJpFdBqftcYiUxTZ6CLMts=; b=m3FnZA+tU0LrVpjPanKTqgHccS0gWWBHK2Mo4EdUkXK7P1huuE4MJ9q4lfloqswaj0Nqan QGnJ2Y97WRYz+bf8CweNOBbCUsbO27xi9NtoSxV1XJhkm+b5PUDT7OIaMf/yud9RqkQamq M9KpblZiEzvdnaD2NxKwFZVpOjHNG4n5VExd/sp7KqQGu0gpRVFT7Ggu/5AnY9+HRwREIS f1sPAARSCbK22fcDLiepwutImQxVFlZPfO2GQGkV8Xp7oWkNDkD1G3Yc/Mp3XPyKSzd0w/ MENqFQ3gpoGvtx5H4PsGv+LSZju3FwAPhK0/aasws4opr4I9OLYMD17GfcrIHg== 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 94F815791D for ; Tue, 10 Dec 2024 09:16:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKvPB-0006U7-AS; Tue, 10 Dec 2024 03:15:41 -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 1tKvP8-0006Tm-B1 for guix-devel@gnu.org; Tue, 10 Dec 2024 03:15:39 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKvP5-0000O6-0N for guix-devel@gnu.org; Tue, 10 Dec 2024 03:15:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=Xn10gDsXVKuFNy6sV4PvAsJpFdBqftcYiUxTZ6CLMts=; b=DL6nrxkRNZg+ru4am/wKasPQVSq6SLJ45vKEPIEVmzRo15GO0vR85slK Bf7pFLguBPdEK9rwut7p+boas4ocdHUMwPouixGyT1OFk9yHg19Xi/1q2 aKxuzIvqqWypEyh1n0iNanCNDsDANDes+7W8OkhGLrw8QpPc5B1fdxDu7 I=; X-IronPort-AV: E=Sophos;i="6.12,221,1728943200"; d="scan'208";a="103903502" Received: from unknown (HELO ribbon) ([193.50.110.52]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2024 09:15:30 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Cc: guix-devel , Nicolas Graves Subject: Re: How to build Rust packages In-Reply-To: (Efraim Flashner's message of "Sun, 8 Dec 2024 11:20:55 +0200") References: <87ldwy3uhr.fsf@inria.fr> <87o71tanwy.fsf@elephly.net> <87h67iv3nw.fsf_-_@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 Frimaire an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Hoyau X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 10 Dec 2024 09:15:29 +0100 Message-ID: <87ikrsj6n2.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-Queue-Id: 94F815791D X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.26 X-Spam-Score: -6.26 X-TUID: Ay5ceor4qnDn Hello, Efraim Flashner skribis: > I don't want to go and parse Cargo.lock, automagically generate packages > based on that, and then download those as cargo-inputs for packages. Not > only does that potentially pull in old versions of libraries which may > have necessary updates or patches, it doesn't check them for license > data or vendored C libraries. Yes, that makes sense to me. A corollary is probably that Guix itself should only focus on a subset of available Crates, with a line drawn somewhere. This needs to be spelled out so contributors and users know what to expect. > I am jealous of the cran updater and all the work Rekado has put into > making it work well, and I know I need to actually fix a bunch of stuff > with the crates. An updater and also the etc/committer.scm file. There > are too many crates to actually package them all, so that wouldn't be > something workable to automatically package all of them. > > I have a script that goes through the crates and lists how many > dependencies there are per file, and I have used it in the past to > remove unused crates. I have also come back and added them back in when > something else needed them. The problem is that currently tools that work for the rest of Guix don=E2= =80=99t work for Crate packages. There=E2=80=99s the proposal at , there= =E2=80=99s also antioxydant, and there=E2=80=99s your script and other tools people mi= ght have. I think this needs to be consolidated so that things remain under control. Ludo=E2=80=99.