step-ca: Set version in ldflags so this is correctly displayed in startup
message
This commit is contained in:
@@ -24,6 +24,11 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-XlfdIg8YHCeCvc7kZczUxlxUonyZSQATgsxLTMvNDk4=";
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = lib.optionals hsmSupport [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
|
||||
Reference in New Issue
Block a user