summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-05 07:32:51 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-05 07:32:51 +0000
commit5c8a6461d4d4161ee7d027a8a7ee5f2682bac14c (patch)
tree46d7fde5291df9f0871d277047817ef9ee8ff1d9
parent206c69e9db2887b2dfc107041c72d0170e9b7789 (diff)
automatic import of bat
-rw-r--r--bat.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/bat.spec b/bat.spec
index dad2252..5445ed5 100644
--- a/bat.spec
+++ b/bat.spec
@@ -16,4 +16,6 @@ A cat(1) clone with syntax highlighting and Git integration.
%autosetup
%install
-cargo install --registry "https://rsproxy.cn/crates.io-index" --locked bat
+export RUSTUP_DIST_SERVER="https://rsproxy.cn"
+export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup"
+cargo install --locked bat