Unverified Commit c43df084 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

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

message
parent 9dd634b5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -24,6 +24,11 @@ buildGoModule rec {

  vendorHash = "sha256-XlfdIg8YHCeCvc7kZczUxlxUonyZSQATgsxLTMvNDk4=";

  ldflags = [
    "-w"
    "-X main.Version=${version}"
  ];

  nativeBuildInputs = lib.optionals hsmSupport [ pkg-config ];

  buildInputs =