From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#40858: Cargo in Guix Date: Sun, 26 Apr 2020 09:39:53 -0400 Message-ID: <4D816AB7-3207-4375-9E93-5065ACAB152B@lepiller.eu> References: <41c810f3-2694-3c59-738f-17b2c3567eb3@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47838) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jShWp-0005Lj-4i for bug-guix@gnu.org; Sun, 26 Apr 2020 09:41:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jShWo-00032B-Dm for bug-guix@gnu.org; Sun, 26 Apr 2020 09:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jShWo-00031P-0y for bug-guix@gnu.org; Sun, 26 Apr 2020 09:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jShWn-0005CI-VH for bug-guix@gnu.org; Sun, 26 Apr 2020 09:41:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <41c810f3-2694-3c59-738f-17b2c3567eb3@posteo.de> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Jan Ole Zabel , 40858@debbugs.gnu.org Le 25 avril 2020 18:17:16 GMT-04:00, Jan Ole Zabel a =C3=A9crit : >Hi, > >I just installed the rust package on guix-system and realized I have no >idea of how to use `cargo` to build something=2E First, cargo is not in >my >search path after installing `rust`, because there is no link in >`=2Eguix-profile`=2E There is no dedicated package either=2E=20 The rust package has multiple outputs=2E Its default output doesn't contai= n cargo, but it has a cargo output which you found in the store=2E You can = install it with: guix install rust:cargo >Second, the >cargo binary installed in `/gnu/store/` throws the following: > > $ /gnu/store/*-rust-1=2E39=2E0-cargo/bin/cargo install ripgrep > error: failed to download from >`https://crates=2Eio/api/ripgrep/12=2E0=2E1/download` >=09 > Caused by: > [60] SSL peer certificate or SSH remote key not found (server >certificate verification failed=2E CAfile: none CRLFile: none) > >A `curl https://crates=2Eio` works normally, so it's not an issue with >the >system certificates=2E My guess is that curl comes from your foreign system? Guix packages don't = read the global location=2E Have you performed these additional steps after= installing guix? http://guix=2Egnu=2Eorg/manual/en/html_node/X_002e509-Certificates=2Ehtml#= X_002e509-Certificates > >Am I doing something wrong? Is this even the right place to report or >ask? guix-help would have been a better place for this one I think=2E I hope this helped a bit :) Hi,