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.
|
||||
(or skip-build?
|
||||
(not (has-executable-target?))
|
||||
(invoke "cargo" "install" "--path" "." "--root" out
|
||||
(invoke "cargo" "install" "--no-track" "--path" "." "--root" out
|
||||
"--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))
|
||||
|
||||
(define %standard-phases
|
||||
|
Loading…
Reference in New Issue
Block a user