following renaming whatis -> showVal

svn path=/nixos/trunk/; revision=15145
This commit is contained in:
Marc Weber 2009-04-19 10:36:30 +00:00
parent 4f3d55232a
commit ed43363e2a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
args : with args;
let
inherit (pkgs.lib) id all whatis escapeShellArg concatMapStrings concatMap
inherit (pkgs.lib) id all showVal escapeShellArg concatMapStrings concatMap
mapAttrs concatLists flattenAttrs filter;
inherit (builtins) getAttr hasAttr head isAttrs;
in
@ -18,7 +18,7 @@ rec {
assert (isAttrs attrs);
assert (repo + "" == repo); # assert repo is a string
if (! (attrs ? type)) then
throw "repo type is missing of : ${whatis attrs}"
throw "repo type is missing of : ${showVal attrs}"
# prepare svn repo
else if attrs.type == "svn" then
let a = { # add svn defaults