grafana: fix cross compile

Change the generate step to run correctly on the build system
This commit is contained in:
squalus 2022-08-23 23:57:31 -07:00
parent 7190fb53a0
commit 78b312a895

View File

@ -28,8 +28,8 @@ buildGoModule rec {
wire gen -tags oss ./pkg/server
wire gen -tags oss ./pkg/cmd/grafana-cli/runner
go generate ./pkg/framework/coremodel
go generate ./public/app/plugins
GOARCH= CGO_ENABLED=0 go generate ./pkg/framework/coremodel
GOARCH= CGO_ENABLED=0 go generate ./public/app/plugins
# The testcase makes an API call against grafana.com:
#