[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cargo attemps to download packages already specified as cargo-inputs
From: |
Gabor Gero |
Subject: |
Cargo attemps to download packages already specified as cargo-inputs |
Date: |
Sun, 22 Dec 2024 12:06:23 +0100 |
User-agent: |
Zoho Mail |
Hello,
I'm trying to package a Rust program, the package definition being
(define pointersearcher-x
(let ((v "0.7.4-dylib"))
(package
(name "pointersearcher-x")
(version v)
(source (origin
(uri (git-reference
(url "https://github.com/kekeimiku/PointerSearcher-X")
(commit v)))
(method git-fetch)
(sha256 (base32 "1nljhy38kam41l50bhcwjiad3mfhc0nfbxxx934cwpxgsc0ilhjw"))))
(build-system cargo-build-system)
(arguments `(#:cargo-inputs (("rust-rayon" ,rust-rayon-1) ("rust-argh"
,rust-argh-0.1))))
(synopsis "An application for finding memory pointers.")
(description "Memory dynamic pointer chain search tool.")
(license agpl3+)
(home-page "https://github.com/kekeimiku/PointerSearcher-X")
(supported-systems '("x86_64-linux" "aarch64-linux")))))
The problem is that if I try to build it via guix build, while all the Rust
dependencies get pulled in by guix perfectly fine, once it reaches the build
stage, cargo prints the following warning:
"warning:
`/tmp/guix-build-pointersearcher-x-0.7.4-dylib.drv-0/source/.cargo/config` is
deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to
`config.toml`"
and attempts to download argh and rayon. What am I doing wrong?
Thanks,
Gabor
- Cargo attemps to download packages already specified as cargo-inputs,
Gabor Gero <=