about summary refs log tree commit diff
path: root/pkgs/tools/security/scilla
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-04-08 00:50:05 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-04-08 00:50:05 +0200
commitf1b9f1c85962aaf904b45fb73d05b42bcffe27f9 (patch)
treec207fd021442d6642d1033734ad2c44c240b5a62 /pkgs/tools/security/scilla
parent7b9aa23df550076f506195bb5935491c56c96753 (diff)
scilla: add ldflags
Diffstat (limited to 'pkgs/tools/security/scilla')
-rw-r--r--pkgs/tools/security/scilla/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/security/scilla/default.nix b/pkgs/tools/security/scilla/default.nix
index e003683181daa..37237bd111815 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"