tkey-ssh-agent: Set ldflags for version
This commit is contained in:
@@ -24,6 +24,11 @@ buildGoModule rec {
|
||||
"cmd/tkey-ssh-agent"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
tests = {
|
||||
|
||||
Reference in New Issue
Block a user