From 76b3622967d34a4c7c0d8a1224cf89c4cbe1c071 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 16 Apr 2024 10:54:26 +0200 Subject: [PATCH] chainsaw: add ldflags --- pkgs/tools/security/chainsaw/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/chainsaw/default.nix b/pkgs/tools/security/chainsaw/default.nix index fc1c46fd8b18..6adab7c7fb26 100644 --- a/pkgs/tools/security/chainsaw/default.nix +++ b/pkgs/tools/security/chainsaw/default.nix @@ -22,12 +22,17 @@ rustPlatform.buildRustPackage rec { darwin.apple_sdk.frameworks.CoreFoundation ]; + ldflags = [ + "-w" + "-s" + ]; + meta = with lib; { description = "Rapidly Search and Hunt through Windows Forensic Artefacts"; - mainProgram = "chainsaw"; homepage = "https://github.com/WithSecureLabs/chainsaw"; changelog = "https://github.com/WithSecureLabs/chainsaw/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; + mainProgram = "chainsaw"; }; }