unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Hamzeh Nasajpour <h.nasajpour@pantherx.org>
Cc: help-guix@gnu.org
Subject: Re: Packaging a python package that is using setuptools_rust
Date: Sun, 25 Oct 2020 11:47:34 +0100	[thread overview]
Message-ID: <87lffu7fax.fsf@nckx> (raw)
In-Reply-To: <03b51916-f18c-4776-96ac-616b89c7c99b@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

Hamzeh,

Hamzeh Nasajpour 写道:
> As you can see, the `rust` path is available in the `PATH`. I 
> get the list of this path:
> ```
> $ ls 
> /gnu/store/axjq514q8gqk90hi7r7wpfbba3id6h18-rust-1.39.0/bin/
> rustc  rustdoc  rust-gdb  rust-gdbgui  rust-lldb
> ```
>
> I couldn't see the `cargo`. I also couldn't find any package for 
> installing the `cargo`.

You're missing the rust:cargo output that provides ‘cargo’:

  ~ λ guix build rust
  ...
  /gnu/store/a5dmqx64mg8jq5s9ffrp4vwhmw3wjjdg-rust-1.46.0-cargo
  /gnu/store/4szzm4wlbrpspc7xi8vqx4hckazqn78i-rust-1.46.0-doc
  /gnu/store/hq4ni80kwx1cj6vyx35ljzr092xgvxca-rust-1.46.0

I.e.:

  (native-inputs
   `(...
     ("rust:cargo" ,rust "cargo")
     ...))

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-10-25 10:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-19 10:52 Packaging a python package that is using setuptools_rust Hamzeh Nasajpour
2020-10-24 13:54 ` Hartmut Goebel
2020-10-25 10:16   ` Hamzeh Nasajpour
2020-10-25 10:47     ` Tobias Geerinckx-Rice [this message]
2020-10-25 11:28       ` Hamzeh Nasajpour
2020-10-25 12:26         ` Efraim Flashner
2021-12-31  8:33 ` Lars-Dominik Braun
2022-01-13  7:58   ` phodina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lffu7fax.fsf@nckx \
    --to=me@tobias.gr \
    --cc=h.nasajpour@pantherx.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).