From 89e6781cc5885cbf6284a51c0403dded62ce8bc0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 Nov 2013 12:51:59 +0100 Subject: Make function calls show up in stack traces again Note that adding --show-trace prevents functions calls from being tail-recursive, so an expression that evaluates without --show-trace may fail with a stack overflow if --show-trace is given. --- src/libstore/globals.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/globals.cc') diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index 7e0157cd3..1ecc629cb 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -55,6 +55,7 @@ Settings::Settings() autoOptimiseStore = false; envKeepDerivations = false; lockCPU = getEnv("NIX_AFFINITY_HACK", "1") == "1"; + showTrace = false; } -- cgit v1.2.3