diff mbox series

[meta-arago,master,v2] websocketd: Add GOPROXY variable

Message ID 20240306135955.837-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master,v2] websocketd: Add GOPROXY variable | expand

Commit Message

Ryan Eatmon March 6, 2024, 1:59 p.m. UTC
As of go v1.21, GOPROXY is required to be set to something or you get the
following error:

go: github.com/gorilla/websocket@v1.4.0: GOPROXY list is not the empty string, but contains no entries

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v2: Fix commit message.

 .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
index 66475726..207cd38a 100644
--- a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
+++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
@@ -7,6 +7,8 @@  inherit go-mod
 
 GO_IMPORT = "github.com/joewalnes/websocketd"
 
+export GOPROXY = "https://proxy.golang.org,direct"
+
 SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master"
 SRCREV = "035c18cc3e6962dabd5ea2ad8845260726a4a99e"