dalfox: add ldflags

This commit is contained in:
Fabian Affolter 2024-01-29 09:36:33 +01:00 committed by GitHub
parent 6a0b7afdaa
commit 6a53d15093
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,13 +9,18 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "hahwul";
repo = pname;
repo = "dalfox";
rev = "refs/tags/v${version}";
sha256 = "sha256-sKW6UYSPgXkZbLiOeYru/XpG/Cpvvhwos6Z5J/WxjXo=";
hash = "sha256-sKW6UYSPgXkZbLiOeYru/XpG/Cpvvhwos6Z5J/WxjXo=";
};
vendorHash = "sha256-0eNaH82iCmxaie+nA9qxEWb8Uq6LaEQoU9wRFJ+GFv0=";
ldflags = [
"-w"
"-s"
];
# Tests require network access
doCheck = false;