Require at least one of url or urls in fetchurl.

This commit is contained in:
Scott Olson 2016-02-19 03:13:10 -06:00
parent 9cf93ba135
commit 43a523526d

View File

@ -85,7 +85,7 @@ in
}:
assert builtins.isList urls;
assert urls == [] || url == "";
assert (urls == []) != (url == "");
let