htmltest: add ldflags
This commit is contained in:
parent
729b06f844
commit
2415e9a70e
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ buildGoModule rec {
|
|||
|
||||
vendorSha256 = "0zx3ii9crick647kslzwg4d39li6jds938f9j9dp287rhrlzjfbm";
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-s"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
# tests require network access
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue