[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: build-system/cargo: Use argument "--no-track" in "cargo install".
From: |
guix-commits |
Subject: |
01/02: build-system/cargo: Use argument "--no-track" in "cargo install". |
Date: |
Thu, 31 Dec 2020 07:43:39 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 5f6216d55153e62d680e42a544bc0a029d7f3500
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Fri Dec 18 10:27:39 2020 +0800
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>
---
guix/build/cargo-build-system.scm | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/guix/build/cargo-build-system.scm
b/guix/build/cargo-build-system.scm
index c7beffc..1d21b33 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -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