From 5f78cfa108a856b35136ada20be2a8cac26280cb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 25 Feb 2012 17:33:14 +0000 Subject: [PATCH] * Add "..." to the trace message. svn path=/nixpkgs/trunk/; revision=32559 --- pkgs/lib/debug.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/lib/debug.nix b/pkgs/lib/debug.nix index d4d2702a284..e452151add6 100644 --- a/pkgs/lib/debug.nix +++ b/pkgs/lib/debug.nix @@ -42,7 +42,7 @@ rec { else if x == null then "x is null" else if isInt x then "x is an integer `${toString x}'" else if isString x then "x is a string `${substring 0 50 x}...'" - else "x is probably a path `${substring 0 50 (toString x)}'"; + else "x is probably a path `${substring 0 50 (toString x)}...'"; # trace the arguments passed to function and its result # maybe rewrite these functions in a traceCallXml like style. Then one function is enough