go: Introduce environment variable GO_NO_VENDOR_CHECKS to relax go vendor checks
This is used in https://github.com/tweag/gomod2nix to reconstruct a vendor metadata file. With the vendor checks we need a lot more metadata which isn't relevant for building packages, especially since we've already locked the dependency graph ahead of time This has been ported from FreeBSD: https://reviews.freebsd.org/D24122
This commit is contained in:
@@ -143,6 +143,7 @@ stdenv.mkDerivation rec {
|
||||
./go-1.9-skip-flaky-20072.patch
|
||||
./skip-external-network-tests.patch
|
||||
./skip-nohup-tests.patch
|
||||
./go_no_vendor_checks-1_14.patch
|
||||
|
||||
# fix rare TestDontCacheBrokenHTTP2Conn failure
|
||||
(fetchpatch {
|
||||
|
||||
Reference in New Issue
Block a user