geoipupdate: set version with ldflags
This commit is contained in:
parent
4c54ad0f3c
commit
3a0afd5401
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "sha256-S+CnIPoyGM7dEQICOIlAWBIC24Fyt7q+OY382evDgQc=";
|
||||
|
||||
ldflags = [ "-X main.version=${version}" ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user