From 67f8b82520dfbf22724836cddc9f5cbb0f28d499 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Wed, 22 Jul 2020 16:47:00 +0200 Subject: [PATCH] Fix issue with readonly go modules --- build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/build.py b/build.py index 4f619b3461..9f4189e216 100755 --- a/build.py +++ b/build.py @@ -844,6 +844,7 @@ def EnableGoCompleter( args ): new_env[ 'GO111MODULE' ] = 'on' new_env[ 'GOPATH' ] = p.join( DIR_OF_THIS_SCRIPT, 'third_party', 'go' ) new_env[ 'GOBIN' ] = p.join( new_env[ 'GOPATH' ], 'bin' ) + new_env[ 'GOFLAGS' ] = new_env.get('GOFLAGS', '') + ' -modcacherw' CheckCall( [ go, 'get', 'golang.org/x/tools/gopls@v0.4.2' ], env = new_env, quiet = args.quiet,