prometheus: fix cross compile
Fix the go generate command so it can run on the build platform
This commit is contained in:
parent
7a474313c1
commit
c555ac1904
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user