From 29149e5385f3e14f4ea3efa91f2be6be21319d52 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 27 Aug 2008 21:23:49 +0000 Subject: [PATCH] The even more incredibly verbose debugging machine... svn path=/nixpkgs/trunk/; revision=12758 --- pkgs/lib/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/lib/default.nix b/pkgs/lib/default.nix index 2f87de0cd0c..34d1cdda148 100644 --- a/pkgs/lib/default.nix +++ b/pkgs/lib/default.nix @@ -456,7 +456,7 @@ rec { [({ #inherit (attrs) description; description = if attrs ? description then attrs.description else - throw ("No description ${toString l}"); + throw ("No description ${toString l} : ${whatis attrs}"); } //(if attrs ? example then {inherit(attrs) example;} else {} ) //(if attrs ? default then {inherit(attrs) default;} else {} )