Set version flag

This commit is contained in:
Jens Binkert 2024-06-18 11:56:45 +02:00 committed by Austin Seipp
parent 5db8ae0a56
commit b3a723dff1
2 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,10 @@ buildGoModule rec {
vendorHash = "sha256-pqHDSQQMvfas9yeyhs5cWokBPISQygz2aHf6W5Zc+co=";
ldflags = [
"-X 'github.com/jzelinskie/cobrautil/v2.Version=${src.rev}'"
];
subPackages = [ "cmd/spicedb" ];
meta = with lib; {

View File

@ -16,6 +16,10 @@ buildGoModule rec {
vendorHash = "sha256-Z6j4w4/anfK0ln2MvgnwZFoe8BA5jVHG3g9m2TynmmE=";
ldflags = [
"-X 'github.com/jzelinskie/cobrautil/v2.Version=${src.rev}'"
];
meta = with lib; {
description = "Command line for managing SpiceDB";
mainProgram = "zed";