mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
* Synced with trunk @ 15145
svn path=/nixos/branches/modular-nixos/; revision=15359
This commit is contained in:
parent
160c7588b3
commit
c1bae06376
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue