summary refs log tree commit diff
path: root/pkgs/lib/debug.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-02-25 17:33:14 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-02-25 17:33:14 +0000
commit5f78cfa108a856b35136ada20be2a8cac26280cb (patch)
treee36c1b41e788cf3e250d2970089ca0684bb51c03 /pkgs/lib/debug.nix
parent675e16f8054ce0e6e9d69dfb8eba61c1f4a6141a (diff)
downloadnixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.tar
nixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.tar.gz
nixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.tar.bz2
nixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.tar.lz
nixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.tar.xz
nixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.tar.zst
nixpkgs-5f78cfa108a856b35136ada20be2a8cac26280cb.zip
* Add "..." to the trace message.
svn path=/nixpkgs/trunk/; revision=32559
Diffstat (limited to 'pkgs/lib/debug.nix')
-rw-r--r--pkgs/lib/debug.nix2
1 files changed, 1 insertions, 1 deletions
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