From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aFmqJU4PBmNMGAAAbAwnHQ (envelope-from ) for ; Wed, 24 Aug 2022 13:45:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0MWpJE4PBmMW1wAAG6o9tA (envelope-from ) for ; Wed, 24 Aug 2022 13:45:18 +0200 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 0A82C133DE for ; Wed, 24 Aug 2022 13:45:18 +0200 (CEST) Received: from localhost ([::1]:35546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQoou-0006e5-Rk for larch@yhetil.org; Wed, 24 Aug 2022 07:45:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQfM7-0005g3-Ot for help-guix@gnu.org; Tue, 23 Aug 2022 21:38:57 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:33900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oQfM5-0005KK-I6 for help-guix@gnu.org; Tue, 23 Aug 2022 21:38:55 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4MC7zV0BLvz9t2M for ; Wed, 24 Aug 2022 03:38:46 +0200 (CEST) Date: Wed, 24 Aug 2022 01:38:43 +0000 (UTC) From: Jonathan Scoresby To: help-guix@gnu.org Message-ID: Subject: Rust Packaging without crates.io MIME-Version: 1.0 X-Correlation-ID: Received-SPF: pass client-ip=80.241.56.161; envelope-from=me@jonscoresby.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 24 Aug 2022 07:42:17 -0400 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661341518; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UrsGqBgk/pXXpeTflqyDWPYqCX6thDsC/0To0/6/F4M=; b=MwC/JVO+/ly3bV4En821a+UjHPN2cSK/R10GGZhZgvagmFS3DvUYEJsHVSSi6OKu5lreIU V7DT/ZXr6MTS9Hh7dEqdJGvmXusXbO94egbFkWQYB2sQQ+HCDXaOISX6Z0MQGZL6CrjZ6N pxMpq/qT5u38pVWzvONL3ypWxd3T2BqSjoQxMi8EYgxAr1zWN4uGnX401y1OpvPltJGSzD H4btXSja4U3/EavAccDSG8XmGzYV5kbv6h1+K/UnL5PHSSJfqmLPiPchvc1iQQGAuDt7fp rdQPtaT1cJdBCayEyQ3QjlOHlEZLF+aIAGIxbX+9MwBDZRdtuGQ+QzLw+JQsPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661341518; a=rsa-sha256; cv=none; b=slbaNROVdjQyM2u1XOyCXnm90BsKRhyWHNMyJek9e2oQhMFmGBy2j1p5SlDCMAg0Svp80h LNhNRac69n1snadMqKMu37FmiazyFV7c1RGgSLaSHeAR1+9WwUIsBxpQM2Myt6ZM4dL70h o4erB8W1GaAh3nrgQQPDFMfhgwD+K7snNQy3ERxPc3T09SvXSVKBbMpTXhQQRte97dteO5 OiGMbAKAsrG8J/dNv27if8xY56QQzKDQrOntVhCH2AbiVfARqeNavouXwf/rVROO6RlhYt +IZxlKPCXud89rAOmItYeJk6OaGz86ln2TTPorFbRSK2ovkG2hGSB/DR6I9dVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 0A82C133DE X-Spam-Score: -1.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: Irqq+cdgjOK3 I am trying to build a package definition for a rust project that is not on crates.io (package A). It has a dependency for another rust project that is also not hosted on crates.io (package B). How do I get guix to reference the guix package B instead of trying to fetch it from the source repository? I'm new to guix but I took a look into the build system code, and it seems like guix just changes the crates.io source to a local repository, but this doesn't work with packages that are hosted outside crates.io. Would it be best to modify the cargo.toml to not reference a git repo? Or is there a better way? Assuming I do that, how do I ensure that package B still ends up in the guix-vendor directory during the build? Thanks