3
0
Fork 0
forked from mirrors/nixpkgs

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