summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-02 17:13:16 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-02 17:13:16 +0200
commit823eea5e9f2ad76757a47845d11490e97e2c4467 (patch)
treec26e184c245e105cd5f3e35ee367294d7a083bdf
parent1c4de8ca0f2409081e87701816a58893fa3ad706 (diff)
downloadrust-823eea5e9f2ad76757a47845d11490e97e2c4467.tar.gz
rust-823eea5e9f2ad76757a47845d11490e97e2c4467.tar.xz
rust: fetch bootstrap tarballs after fetching scm repository
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/dev-lang/rust/rust-build.exlib12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/dev-lang/rust/rust-build.exlib b/packages/dev-lang/rust/rust-build.exlib
index 5370d6d..edb5e38 100644
--- a/packages/dev-lang/rust/rust-build.exlib
+++ b/packages/dev-lang/rust/rust-build.exlib
@@ -92,6 +92,12 @@ rust-build_has_build_deps() {
}
rust-build_src_fetch_extra() {
+ if ever is_scm; then
+ scm_src_fetch_extra
+ else
+ default
+ fi
+
if ! rust-build_has_build_deps; then
local static_host="https://static.rust-lang.org"
local old_path="${PATH}"
@@ -106,12 +112,6 @@ rust-build_src_fetch_extra() {
done
export PATH="${old_path}"
fi
-
- if ever is_scm; then
- scm_src_fetch_extra
- else
- default
- fi
}
rust-build_src_unpack() {