about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-06T21·44-0400
committerglittershark <grfn@gws.fyi>2020-09-06T22·21+0000
commit2ca20da43faf90bf301ea5d2cbaaae62305b395c (patch)
tree277937a30cfac5b2963871985649bc81695b8ffe
parent8f4d89e429b58a78a3052d03715dd9fc867474d2 (diff)
chore(tvix): dontStrip tvix build r/1771
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 <mail@tazj.in>
Tested-by: BuildkiteCI
-rw-r--r--third_party/nix/default.nix3
1 files changed, 3 insertions, 0 deletions
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