From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: rust: Crate Dependencies Date: Thu, 29 Dec 2016 12:12:55 +0100 Message-ID: <20161229121255.750fa1e3@scratchpost.org> References: <20161228155134.3dedfd06@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMYdw-0000bA-KU for guix-devel@gnu.org; Thu, 29 Dec 2016 06:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMYdr-000643-HK for guix-devel@gnu.org; Thu, 29 Dec 2016 06:13:08 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:41711) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cMYdr-00063t-BL for guix-devel@gnu.org; Thu, 29 Dec 2016 06:13:03 -0500 In-Reply-To: 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel Hi David, On Thu, 29 Dec 2016 11:49:19 +0100 David Craven wrote: > It matters very > much which versions of rustc and cargo are used I used the versions in your v2 patch. I also tried ng0's update which didn't improve things. How does rustc find the (Rust) dependencies when building a package in cargo-build-system? There doesn't seem to be a RUST* or CARGO* environment variable or anything when I do "guix environment rust-c-vec --fallback". (Note that I picked rust-c-vec to fix first because it has only rust-libc as dependency) I read that there are actual Rust binary libraries, seldomly used, and everything-included-only-as-source otherwise. How do I specify which it is? Or is that not implemented yet? I tried specifying the latter as native-inputs - which doesn't seems to work either...