Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-04-02 00:21:46 +00:00
committed by GitHub
37 changed files with 314 additions and 170 deletions
+3 -1
View File
@@ -104,7 +104,9 @@ let
if urls != [] && url == "" then
(if lib.isList urls then urls
else throw "`urls` is not a list")
else if urls == [] && url != "" then [url]
else if urls == [] && url != "" then
(if lib.isString url then [url]
else throw "`url` is not a string")
else throw "fetchurl requires either `url` or `urls` to be set";
hash_ =