diff --git a/pkgs/lib/default.nix b/pkgs/lib/default.nix index 999efd38ecd..a23b7d947ef 100644 --- a/pkgs/lib/default.nix +++ b/pkgs/lib/default.nix @@ -465,6 +465,7 @@ rec { else if (x == []) then "x is an empty list" else if (__isList x) then "x is a list, first item is : ${whatis (__head x)}" else if (x == true || x == false) then builtins.toString x + else if (x == null) then "x is null" else "x is probably a string starting, starting characters: ${__substring 0 50 x}..";