termux-packages/packages/grafana/bingo-Variables.mk.patch
2022-01-20 10:02:48 +02:00

10 lines
553 B
Diff

--- a/.bingo/Variables.mk
+++ b/.bingo/Variables.mk
@@ -27,5 +27,5 @@
$(WIRE): $(BINGO_DIR)/wire.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/wire-v0.5.0"
- @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=wire.mod -o=$(GOBIN)/wire-v0.5.0 "github.com/google/wire/cmd/wire"
+ @cd $(BINGO_DIR) && GOOS=linux GOARCH=amd64 $(GO) build -mod=mod -modfile=wire.mod -o=$(GOBIN)/wire-v0.5.0 "github.com/google/wire/cmd/wire"