zlint: refactor

This commit is contained in:
Fabian Affolter
2024-08-04 22:16:09 +02:00
committed by GitHub
parent 1e8936bd62
commit a59858e045
+2 -2
View File
@@ -12,7 +12,7 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "zmap";
repo = "zlint";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-N199sSxe06nm0CInTYAuwRgoq7hN7IQpHz5ERUSpk3M=";
};
@@ -32,7 +32,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
"-X=main.version=${version}"
];
passthru.tests.version = testers.testVersion {