prometheus: fix cross compile

Fix the go generate command so it can run on the build platform
This commit is contained in:
squalus 2022-08-24 12:35:13 -07:00
parent 7a474313c1
commit c555ac1904

View file

@ -105,7 +105,7 @@ buildGoModule rec {
'';
preBuild = ''
if [[ -d vendor ]]; then make -o assets assets-compress plugins; fi
if [[ -d vendor ]]; then GOARCH= make -o assets assets-compress plugins; fi
'';
tags = [ "builtinassets" ];