Merge pull request #7627 from edolstra/fetchTarball-channel

Restore support for channel: URLs in fetchTarball
This commit is contained in:
Eelco Dolstra
2023-01-18 14:26:35 +01:00
committed by GitHub
+3
View File
@@ -220,6 +220,9 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v
} else
url = state.forceStringNoCtx(*args[0], pos);
if (who == "fetchTarball")
url = evalSettings.resolvePseudoUrl(*url);
state.checkURI(*url);
if (name == "")