mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
Unified fetcher caching system
This commit is contained in:
parent
fbcb897e21
commit
2a4e4f6a6e
20 changed files with 425 additions and 197 deletions
|
|
@ -44,7 +44,7 @@ MixEvalArgs::MixEvalArgs()
|
|||
.handler([&](std::vector<std::string> ss) {
|
||||
auto from = parseFlakeRef(ss[0], absPath("."));
|
||||
auto to = parseFlakeRef(ss[1], absPath("."));
|
||||
fetchers::Input::Attrs extraAttrs;
|
||||
fetchers::Attrs extraAttrs;
|
||||
if (to.subdir != "") extraAttrs["dir"] = to.subdir;
|
||||
fetchers::overrideRegistry(from.input, to.input, extraAttrs);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue