1 |
commit: 84f8f7e2b98eded7e6c31ac509421da9fed5d35b |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 27 02:08:20 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 28 04:59:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f8f7e2 |
7 |
|
8 |
cargo.eclass: force offline operations |
9 |
|
10 |
Bug: https://bugs.gentoo.org/697762 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
eclass/cargo.eclass | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass |
17 |
index 2807bf8069d..f050b0e81ac 100644 |
18 |
--- a/eclass/cargo.eclass |
19 |
+++ b/eclass/cargo.eclass |
20 |
@@ -136,6 +136,9 @@ cargo_gen_config() { |
21 |
[source.crates-io] |
22 |
replace-with = "gentoo" |
23 |
local-registry = "/nonexistant" |
24 |
+ |
25 |
+ [net] |
26 |
+ offline = true |
27 |
EOF |
28 |
} |