Commit 78b312a8 authored by squalus's avatar squalus
Browse files

grafana: fix cross compile

Change the generate step to run correctly on the build system
parent 7190fb53
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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:
    #