scilla: add ldflags
This commit is contained in:
parent
7b9aa23df5
commit
f1b9f1c859
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user