diff options
author | figsoda <figsoda@pm.me> | 2023-06-02 09:26:19 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-06-02 09:26:19 -0400 |
commit | 6329f449c4ad2d61d57c9307c89dab6345752d48 (patch) | |
tree | 40f7642439f94a23b71a5bca6c30ec9cbfde1c68 /pkgs/development/tools/relic | |
parent | c01ff5c2363d313a69eb0f641a15c2fa25765aa0 (diff) |
relic: fix version
Diffstat (limited to 'pkgs/development/tools/relic')
-rw-r--r-- | pkgs/development/tools/relic/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/tools/relic/default.nix b/pkgs/development/tools/relic/default.nix index 3131255ab8227..bd10b3717601b 100644 --- a/pkgs/development/tools/relic/default.nix +++ b/pkgs/development/tools/relic/default.nix @@ -13,11 +13,17 @@ buildGoModule rec { vendorHash = "sha256-EZohpGzMDYKUbjSOIfoUbbsABNDOddrTt52pv+VQLdI="; + ldflags = [ + "-s" + "-w" + "-X=main.version=${version}" + "-X=main.commit=${src.rev}" + ]; + meta = with lib; { homepage = "https://github.com/sassoftware/relic"; description = "A service and a tool for adding digital signatures to operating system packages for Linux and Windows"; license = licenses.asl20; maintainers = with maintainers; [ strager ]; - platforms = platforms.unix; }; } |