summaryrefslogtreecommitdiff
path: root/eclass/cargo.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-10 21:28:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-10 21:28:32 +0000
commitc020d9e9432cd0e36fe47ad14216d6048adb49fc (patch)
tree7c3c3aed7d27733e3ad6d8f8f017244169c20772 /eclass/cargo.eclass
parent0d0e3e0adedd9f237ceea9e95cbd0ed29a4576d4 (diff)
gentoo auto-resync : 10:11:2022 - 21:28:32
Diffstat (limited to 'eclass/cargo.eclass')
-rw-r--r--eclass/cargo.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index c46f48146aed..eb9d2e8c3599 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -243,7 +243,8 @@ cargo_src_unpack() {
# @FUNCTION: cargo_live_src_unpack
# @DESCRIPTION:
-# Runs 'cargo fetch' and vendors downloaded crates for offline use, used in live ebuilds
+# Runs 'cargo fetch' and vendors downloaded crates for offline use, used in live ebuilds.
+# NOTE: might require passing --frozen to cargo_src_configure if git dependencies are used.
cargo_live_src_unpack() {
debug-print-function ${FUNCNAME} "$@"
@@ -355,6 +356,10 @@ cargo_live_src_unpack() {
# In some cases crates may need '--no-default-features' option,
# as there is no way to disable single feature, except disabling all.
# It can be passed directly to cargo_src_configure().
+#
+# Some live/9999 ebuild may need '--frozen' option, if git crates
+# are used.
+# Otherwise src_install phase may query network again and fail.
cargo_src_configure() {
debug-print-function ${FUNCNAME} "$@"