We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8936b commit a59858eCopy full SHA for a59858e
pkgs/tools/security/zlint/default.nix
@@ -12,7 +12,7 @@ buildGoModule rec {
12
src = fetchFromGitHub {
13
owner = "zmap";
14
repo = "zlint";
15
- rev = "v${version}";
+ rev = "refs/tags/v${version}";
16
hash = "sha256-N199sSxe06nm0CInTYAuwRgoq7hN7IQpHz5ERUSpk3M=";
17
};
18
@@ -32,7 +32,7 @@ buildGoModule rec {
32
ldflags = [
33
"-s"
34
"-w"
35
- "-X main.version=${version}"
+ "-X=main.version=${version}"
36
];
37
38
passthru.tests.version = testers.testVersion {
0 commit comments