mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Set version flag
This commit is contained in:
parent
5db8ae0a56
commit
b3a723dff1
@ -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; {
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user