diff --git a/pkgs/servers/monitoring/grafana/default.nix b/pkgs/servers/monitoring/grafana/default.nix index 7468ea64dcd7..1ac106f80deb 100644 --- a/pkgs/servers/monitoring/grafana/default.nix +++ b/pkgs/servers/monitoring/grafana/default.nix @@ -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: #