Restore support for channel: URLs in fetchTarball

Fixes #7625.
This commit is contained in:
Eelco Dolstra 2023-01-18 12:56:36 +01:00
parent d385c13202
commit 01f268322a

View file

@ -220,6 +220,9 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v
} else } else
url = state.forceStringNoCtx(*args[0], pos); url = state.forceStringNoCtx(*args[0], pos);
if (who == "fetchTarball")
url = evalSettings.resolvePseudoUrl(*url);
state.checkURI(*url); state.checkURI(*url);
if (name == "") if (name == "")