summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-11-18 17:10:51 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-11-18 17:10:51 -0600
commitb0a4dffcac4b7994d1832f69dade037cbabf6997 (patch)
tree83da36bcf689fcfdbf6646edbdbf53ef252a9b95 /eclass
parentsci-mathematics/lean: bump to 3.49.1 (diff)
downloadgentoo-b0a4dffcac4b7994d1832f69dade037cbabf6997.tar.gz
gentoo-b0a4dffcac4b7994d1832f69dade037cbabf6997.tar.bz2
gentoo-b0a4dffcac4b7994d1832f69dade037cbabf6997.zip
go-module.eclass: add a way to allow go mod verify to be nonfatal
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/go-module.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index 4916b31a1b59..10ed475c5b11 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -360,7 +360,9 @@ go-module_src_unpack() {
default
if [[ ! -d "${S}"/vendor ]]; then
cd "${S}"
- ego mod verify
+ local nf
+ [[ -n ${NONFATAL_VERIFY} ]] && nf=nonfatal
+ ${nf} ego mod verify
fi
fi
}