geoipupdate: set version with ldflags

This commit is contained in:
Renaud 2022-02-25 10:42:43 +01:00 committed by GitHub
parent 4c54ad0f3c
commit 3a0afd5401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "sha256-S+CnIPoyGM7dEQICOIlAWBIC24Fyt7q+OY382evDgQc="; vendorSha256 = "sha256-S+CnIPoyGM7dEQICOIlAWBIC24Fyt7q+OY382evDgQc=";
ldflags = [ "-X main.version=${version}" ];
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {