From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0LFqNlyPdWAnUQAAgWs5BA (envelope-from ) for ; Tue, 13 Apr 2021 14:32:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YLpfMFyPdWAdHAAA1q6Kng (envelope-from ) for ; Tue, 13 Apr 2021 12:32:28 +0000 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 7170912085 for ; Tue, 13 Apr 2021 14:32:28 +0200 (CEST) Received: from localhost ([::1]:37848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWIDT-0005Wt-Gd for larch@yhetil.org; Tue, 13 Apr 2021 08:32:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWID4-0005WY-PF for guix-patches@gnu.org; Tue, 13 Apr 2021 08:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWID4-0001Le-He for guix-patches@gnu.org; Tue, 13 Apr 2021 08:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWID4-0002m1-F1 for guix-patches@gnu.org; Tue, 13 Apr 2021 08:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#46399] [PATCH] build-system/cargo: Propagate crates across builds. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Apr 2021 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 46399@debbugs.gnu.org Received: via spool by 46399-submit@debbugs.gnu.org id=B46399.161831711210641 (code B ref 46399); Tue, 13 Apr 2021 12:32:02 +0000 Received: (at 46399) by debbugs.gnu.org; 13 Apr 2021 12:31:52 +0000 Received: from localhost ([127.0.0.1]:59177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWICu-0002lZ-Cq for submit@debbugs.gnu.org; Tue, 13 Apr 2021 08:31:52 -0400 Received: from pelzflorian.de ([5.45.111.108]:41912 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWICs-0002lQ-IK for 46399@debbugs.gnu.org; Tue, 13 Apr 2021 08:31:51 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 2FFF436063C; Tue, 13 Apr 2021 14:31:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1618317109; bh=QppYwmhwycl0od8lDqMWH3m/7EUPJERxb3Fr5YOFOLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ZpuACqC0REFdxvOeDmmuBi+VKRvotWO7IjlJag8H+RKnVZb9AOls0QUDDEB7Rq2iK M5xRfzXOC5m+Xpg94yhuZU2sShCI82UxaZAD9rTdghjYqQlz8JP17JYQt3kCV9JxiP mGCn9xYTWkuU8Zp/cZbmiscoud0VHkwHPwdmJaQE= Date: Tue, 13 Apr 2021 14:31:39 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210413123139.t2s5jhskvep4syhk@pelzflorian.localdomain> References: <20210209105843.13230-1-efraim@flashner.co.il> <20210411151052.ckjjpbrpqgfp43tl@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618317148; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oUtUZEugUR3inORURJDUMmHkEevx2eTnLFoOsWWCokk=; b=mOjEkjVcpIb8WWC6NGwyMRmcMi+Q4PpgZHZH43UJYE+mz/24F8zCexam5e9umvKRhlJsvX ekzr0Boxvg8o4pOyYFQTWk3ixDHBKOE2HqQKrOqJIFdmy2ZS8slkSdqXoSUZOgiCj+vZU8 jw7Y9/HzkH4WpcHGmLnlPKIwjvhPweSUeYPJYq+mNZz8kTNvOb1BWBq+iZknYFdEGQEkJB 6sfiDNJDb7G+7TkSTxgO1+ONOKXdB3qx2hQoFxP10pBktN5jWt5sPl57pqByeXvBxKb9sm hpWlXX9mrjsEKe9x/QkMxXTQ/OWv2cEvJ7Th3CfbE9CUw24T50SC5UV+gdSjSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618317148; a=rsa-sha256; cv=none; b=Y225SBugeFNNlzyFj34W1Tuz1/Kv63UsxKy9f9mXuUecQ2MV/TxXzAqTqqJ5iSLaw6AhuB d1pxEzbqbkToU21NZ8o5cz3YmAaYtUFmdfCQxK2mXp3v+EiTUgYP+rY6iyDvuoVaUNBo1U +aiQSzHLt4IYy/9YFSYtCTxNOZDJLEJieY5882fv2jMmx/FJSM8Jc6ygHHMDIhpRo2bClH WeKzgr3Dc0ita4e75mPPzGYanjuCo77PdfHtPKHLBqjthSe2h/qZ3OE60jTE1rk8nQxk4k L9X5iXAKk3THlwOBsEFnM+AlXN4Yu0POCJMO6DRS6iDiq/TTnd6XdScKH0wE+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=ZpuACqC0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=ZpuACqC0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7170912085 X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5Ye4Io3DEUSO On Mon, Apr 12, 2021 at 09:40:17AM +0300, Efraim Flashner wrote: > I went back and refreshed myself with what I wrote there. source-only > crates should be added to both regular inputs and to #:cargo-inputs. Thank you for clarifying. I will translate the manual accordingly. > #:cargo-inputs are "magic" in that they propagate their own #:cargo-inputs > to future builds. I had not known about this difference. > I think for now the best option is to add the rust inputs of all types > to both inputs and #:cargo-inputs (or native-inputs and > #:cargo-development-inputs) and then remove them from #:cargo-inputs > when it's possible to do so. Ultimately Someoneā„¢ should revive the > wip-rust branch and convert all the crates over in one go and adjust the > importer and manual. I suppose this paragraph of your reply should be added to the manual. Regards, Florian