Unverified Commit d0078e00 authored by Stig's avatar Stig Committed by GitHub
Browse files

age-plugin-tpm: fix version (#484081)

parents 68aef776 3cecf58e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  swtpm,
  openssl,
  age,
  versionCheckHook,
}:

buildGoModule rec {
@@ -28,6 +29,7 @@ buildGoModule rec {
    age
    swtpm
  ];
  nativeInstallCheckInputs = [ versionCheckHook ];

  buildInputs = [
    openssl
@@ -36,6 +38,7 @@ buildGoModule rec {
  ldflags = [
    "-s"
    "-w"
    "-X main.version=${version}"
  ];

  passthru.tests = {