From 2ca20da43faf90bf301ea5d2cbaaae62305b395c Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 6 Sep 2020 17:44:06 -0400 Subject: chore(tvix): dontStrip tvix build This is mostly to help in tracing through the core dumps for b/58, but is also generally a good idea while we're still in hardcore debugging-mode. Fixes: b/63 Change-Id: Ib816a2a98bf3b8afa6e8b255a74ccb93af6508c5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1937 Reviewed-by: tazjin Tested-by: BuildkiteCI --- third_party/nix/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index 3403b1a14c..a8b44208ba 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -71,6 +71,9 @@ in lib.fix (self: pkgs.llvmPackages.libcxxStdenv.mkDerivation { doCheck = false; doInstallCheck = true; + # Preserve debug symbols, for core dumps + other live debugging + dontStrip = true; + installCheckInputs = with pkgs; [ fd gtest -- cgit 1.4.1