help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Howto supply cargo-build-system dependency to guix package definitio


From: Timothy Washington
Subject: Re: Howto supply cargo-build-system dependency to guix package definition
Date: Thu, 27 Apr 2023 00:53:22 -0400

Thanks very much for your help. I got past that bit. Below is the config
that got me through it.

(define-module (guix packages rustscan)
  ...
  #:use-module (gnu packages crates-io))


(define-public rustscan
  (package
   ...
   (arguments
    `(#:cargo-inputs
      (("rust-ansi-term" ,rust-ansi-term-0.12))))
   (home-page "https://github.com/RustScan/RustScan";)
   ...
   ))


The build is still looking for a different package now (anyhow). But I can
find that once https://packages.guix.gnu.org/ comes back online, from its
outage, lol.

starting phase `build'
error: no matching package named `anyhow` found
location searched: registry `crates-io`
required by package `rustscan v2.1.1
(/tmp/guix-build-rustscan-2.1.1.drv-0/source)`



Thanks again!
Tim



On Wed, 26 Apr 2023 at 01:43, ( <paren@disroot.org> wrote:

> Timothy Washington <twashing@gmail.com> writes:
> > What is "crates-xyz" meant to do? And where is its definition?
>
> Okay, apparently it's actually ``crates-io'' :P (this time i actually
> checked...)
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]