about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix Uhl <felix.uhl@netlight.com>2022-11-11 16:09:23 +0100
committerFelix Uhl <felix.uhl@netlight.com>2022-11-11 16:19:07 +0100
commitc14697d8031feae1f2b4dd399cdcb4783e0925f3 (patch)
treef77b07d364a086f089f50f434b3e66fd6cc7a312
parentef62f6566bec854eb8f7c98d38c64d9047d77ab6 (diff)
tfsec: fix broken info links and version string
Fixes #200710. The version string must be prefixed with a v, otherwise
links to information about the findings from tfsec will 404.
-rw-r--r--pkgs/development/tools/analysis/tfsec/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/tfsec/default.nix b/pkgs/development/tools/analysis/tfsec/default.nix
index 89f23062692a3..1127e6323de5d 100644
--- a/pkgs/development/tools/analysis/tfsec/default.nix
+++ b/pkgs/development/tools/analysis/tfsec/default.nix
@@ -17,7 +17,7 @@ buildGoModule rec {
   ldflags = [
     "-s"
     "-w"
-    "-X github.com/aquasecurity/tfsec/version.Version=${version}"
+    "-X github.com/aquasecurity/tfsec/version.Version=v${version}"
     ## not sure if this is needed (https://github.com/aquasecurity/tfsec/blob/master/.goreleaser.yml#L6)
     # "-extldflags '-fno-PIC -static'"
   ];