Skip to content

Commit

Permalink
gotestwaf: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Jan 26, 2024
1 parent 2d2dfe7 commit 9a050d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/security/gotestwaf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {

src = fetchFromGitHub {
owner = "wallarm";
repo = pname;
repo = "gotestwaf";
rev = "refs/tags/v${version}";
hash = "sha256-G/1X7kq5n04dYoluvlIswOCE/BvhgZwyXCbPrKIE/SY=";
};
Expand All @@ -22,6 +22,8 @@ buildGoModule rec {
doCheck = false;

ldflags = [
"-w"
"-s"
"-X=github.com/wallarm/gotestwaf/internal/version.Version=v${version}"
];

Expand Down

0 comments on commit 9a050d1

Please sign in to comment.