From 84f8f7e2b98eded7e6c31ac509421da9fed5d35b Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 26 Dec 2019 18:08:20 -0800 Subject: [PATCH] cargo.eclass: force offline operations Bug: https://bugs.gentoo.org/697762 Signed-off-by: Georgy Yakovlev --- eclass/cargo.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 2807bf8069d8..f050b0e81ac0 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -136,6 +136,9 @@ cargo_gen_config() { [source.crates-io] replace-with = "gentoo" local-registry = "/nonexistant" + + [net] + offline = true EOF } -- 2.26.2