scilla: add ldflags

This commit is contained in:
Fabian Affolter 2024-04-08 00:50:05 +02:00
parent 7b9aa23df5
commit f1b9f1c859

View File

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