scaleway-cli: add ldflags details
This commit is contained in:
parent
922b173bf3
commit
38d5d60ddd
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user