traefik: fix cross compilation
This commit is contained in:
parent
08a62091a1
commit
b5adf1b616
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ buildGoModule rec {
|
|||
subPackages = [ "cmd/traefik" ];
|
||||
|
||||
preBuild = ''
|
||||
go generate
|
||||
GOOS= GOARCH= CGO_ENABLED=0 go generate
|
||||
|
||||
CODENAME=$(awk -F "=" '/CODENAME=/ { print $2}' script/binary)
|
||||
|
||||
|
|
Loading…
Reference in a new issue