step-ca: Set version in ldflags so this is correctly displayed in startup

message
This commit is contained in:
Jonathan Davies
2024-05-18 11:03:41 +01:00
parent 9dd634b59a
commit c43df0840e
+5
View File
@@ -24,6 +24,11 @@ buildGoModule rec {
vendorHash = "sha256-XlfdIg8YHCeCvc7kZczUxlxUonyZSQATgsxLTMvNDk4=";
ldflags = [
"-w"
"-X main.Version=${version}"
];
nativeBuildInputs = lib.optionals hsmSupport [ pkg-config ];
buildInputs =