mirror of
git://git.savannah.gnu.org/guix.git
synced 2024-12-29 11:46:06 +01:00
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.
This commit is contained in:
parent
3b186ab72b
commit
c1cc0c4865
1 changed files with 7 additions and 1 deletions
|
@ -173,7 +173,13 @@ directory = '" port)
|
|||
(or skip-build?
|
||||
(not (has-executable-target?))
|
||||
(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
|
||||
(modify-phases gnu:%standard-phases
|
||||
|
|
Loading…
Reference in a new issue