From f1b9f1c85962aaf904b45fb73d05b42bcffe27f9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Apr 2024 00:50:05 +0200 Subject: [PATCH] scilla: add ldflags --- pkgs/tools/security/scilla/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/scilla/default.nix b/pkgs/tools/security/scilla/default.nix index e003683181da..37237bd11181 100644 --- a/pkgs/tools/security/scilla/default.nix +++ b/pkgs/tools/security/scilla/default.nix @@ -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"