Author: eelco
Date: Sat Feb 25 17:33:14 2012
New Revision: 32559
URL: https://nixos.org/websvn/nix/?rev=32559&sc=1

Log:
* Add "..." to the trace message.

Modified:
   nixpkgs/trunk/pkgs/lib/debug.nix

Modified: nixpkgs/trunk/pkgs/lib/debug.nix
==============================================================================
--- nixpkgs/trunk/pkgs/lib/debug.nix    Sat Feb 25 17:31:39 2012        (r32558)
+++ nixpkgs/trunk/pkgs/lib/debug.nix    Sat Feb 25 17:33:14 2012        (r32559)
@@ -42,7 +42,7 @@
       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
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to