all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "(" <paren@disroot.org>
To: "(" <paren@disroot.org>
Cc: Timothy Washington <twashing@gmail.com>, help-guix@gnu.org
Subject: Re: Howto supply cargo-build-system dependency to guix package definition
Date: Mon, 24 Apr 2023 07:23:58 +0100	[thread overview]
Message-ID: <87mt2xg5l5.fsf@disroot.org> (raw)
In-Reply-To: <87ttx5g5qj.fsf@disroot.org>

"(" <paren@disroot.org> writes:
> Timothy Washington <twashing@gmail.com> writes:
>>     (native-inputs
>>      `(("rustc" ,rustc)
>>        ("cargo" ,cargo)))
>>     (inputs
>>      `(("ansi_term" ,ansi-term)))
> You don't need these.
>
>>     (arguments
>>      `(#:cargo-inputs
>>        (("ansi-term" ,ansi-term))))
>
> Try this:
>
> ```
>     (arguments
>      (list #:cargo-inputs
>            #~`(("rust-ansi-term" ,rust-ansi-term-0.12))))
> ```

(You'll need to import (guix gexp) and (gnu packages cargo-xyz) for this
to work.)



  reply	other threads:[~2023-04-24  6:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-23 16:18 Howto supply cargo-build-system dependency to guix package definition Timothy Washington
2023-04-24  6:19 ` (
2023-04-24  6:23   ` ( [this message]
2023-04-25  3:48     ` Timothy Washington
2023-04-25  5:56       ` (
2023-04-25 20:44         ` Timothy Washington
2023-04-26  5:43           ` (
2023-04-27  4:53             ` Timothy Washington
2023-04-27 16:36               ` (
2023-04-28  3:06                 ` Timothy Washington
2023-04-28 14:23                   ` (
2023-04-28 20:08                     ` Timothy Washington

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

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

  git send-email \
    --in-reply-to=87mt2xg5l5.fsf@disroot.org \
    --to=paren@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=twashing@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.