|
|
|
@ -13,6 +13,16 @@ buildGoModule rec { |
|
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-aaYS0WqNa8997kdV38blUsYovtUHHtEUXCTG9vwv2ko="; |
|
|
|
|
|
|
|
|
|
ldflags = [ |
|
|
|
|
"-w" |
|
|
|
|
"-extldflags" |
|
|
|
|
"-static" |
|
|
|
|
"-X main.Version=${version}" |
|
|
|
|
"-X main.GitCommit=ref/tags/${version}" |
|
|
|
|
"-X main.GitBranch=HEAD" |
|
|
|
|
"-X main.BuildDate=unknown" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# some tests require network access to scaleway's API, failing when sandboxed |
|
|
|
|
doCheck = false; |
|
|
|
|
|
|
|
|
|