mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Restore support for channel: URLs in fetchTarball
Fixes #7625.
(cherry picked from commit 01f268322a
)
This commit is contained in:
parent
f60d45d661
commit
fda0d52e3c
@ -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 == "")
|
||||
|
Loading…
Reference in New Issue
Block a user