build-system/cargo: Don't install .crates.toml file.
Fixes <https://issues.guix.gnu.org/43810>. * guix/build/cargo-build-system.scm (install): Remove installed .crates.toml file.master
parent
3b186ab72b
commit
c1cc0c4865
|
@ -173,7 +173,13 @@ directory = '" port)
|
||||||
(or skip-build?
|
(or skip-build?
|
||||||
(not (has-executable-target?))
|
(not (has-executable-target?))
|
||||||
(invoke "cargo" "install" "--path" "." "--root" out
|
(invoke "cargo" "install" "--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))
|
||||||
|
|
||||||
(define %standard-phases
|
(define %standard-phases
|
||||||
(modify-phases gnu:%standard-phases
|
(modify-phases gnu:%standard-phases
|
||||||
|
|
Reference in New Issue