* Synced with trunk @ 15145
svn path=/nixos/branches/modular-nixos/; revision=15359
This commit is contained in:
parent
160c7588b3
commit
c1bae06376
@ -1,6 +1,6 @@
|
|||||||
args : with args;
|
args : with args;
|
||||||
let
|
let
|
||||||
inherit (pkgs.lib) id all whatis escapeShellArg concatMapStrings concatMap
|
inherit (pkgs.lib) id all showVal escapeShellArg concatMapStrings concatMap
|
||||||
mapAttrs concatLists flattenAttrs filter;
|
mapAttrs concatLists flattenAttrs filter;
|
||||||
inherit (builtins) getAttr hasAttr head isAttrs;
|
inherit (builtins) getAttr hasAttr head isAttrs;
|
||||||
in
|
in
|
||||||
@ -18,7 +18,7 @@ rec {
|
|||||||
assert (isAttrs attrs);
|
assert (isAttrs attrs);
|
||||||
assert (repo + "" == repo); # assert repo is a string
|
assert (repo + "" == repo); # assert repo is a string
|
||||||
if (! (attrs ? type)) then
|
if (! (attrs ? type)) then
|
||||||
throw "repo type is missing of : ${whatis attrs}"
|
throw "repo type is missing of : ${showVal attrs}"
|
||||||
# prepare svn repo
|
# prepare svn repo
|
||||||
else if attrs.type == "svn" then
|
else if attrs.type == "svn" then
|
||||||
let a = { # add svn defaults
|
let a = { # add svn defaults
|
||||||
|
Loading…
Reference in New Issue
Block a user