forked from mirrors/nixpkgs
Require at least one of url or urls in fetchurl.
This commit is contained in:
parent
9cf93ba135
commit
43a523526d
|
@ -85,7 +85,7 @@ in
|
|||
}:
|
||||
|
||||
assert builtins.isList urls;
|
||||
assert urls == [] || url == "";
|
||||
assert (urls == []) != (url == "");
|
||||
|
||||
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue