scilla: add ldflags

This commit is contained in:
Fabian Affolter 2024-04-08 00:50:05 +02:00
parent 7b9aa23df5
commit f1b9f1c859
1 changed files with 6 additions and 1 deletions

View File

@ -9,13 +9,18 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "edoardottt";
repo = pname;
repo = "scilla";
rev = "refs/tags/v${version}";
hash = "sha256-ms52ii2cbZSZtcyxhVN+FbGP6hysoLvS7XwdPqxYymU=";
};
vendorHash = "sha256-tOg4T9yQm1aj5G89lUeRUTxi4YrwpRi5KDcpWw4TimY=";
ldflags = [
"-w"
"-s"
];
checkFlags = [
# requires network access
"-skip=TestIPToHostname"