build-system/cargo: Use argument "--no-track" in "cargo install".
* guix/build/cargo-build-system(install): Add argument "--no-track" in "cargo install". Remove stale hack. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
fb533563f0
commit
5f6216d551
@ -183,13 +183,9 @@ directory = '" port)
|
|||||||
;; otherwise cargo will raise an error.
|
;; otherwise cargo will raise an error.
|
||||||
(or skip-build?
|
(or skip-build?
|
||||||
(not (has-executable-target?))
|
(not (has-executable-target?))
|
||||||
(invoke "cargo" "install" "--path" "." "--root" out
|
(invoke "cargo" "install" "--no-track" "--path" "." "--root" out
|
||||||
"--features" (string-join features)))
|
"--features" (string-join features)))
|
||||||
|
|
||||||
;; This is a file which we definitely don't need installed.
|
|
||||||
(when (file-exists? (string-append out "/.crates.toml"))
|
|
||||||
(delete-file (string-append out "/.crates.toml")))
|
|
||||||
|
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
(define %standard-phases
|
(define %standard-phases
|
||||||
|
Loading…
Reference in New Issue
Block a user