mirror of
https://github.com/NixOS/nix
synced 2025-07-04 15:31:47 +02:00
Move the InputCache to EvalState
This commit is contained in:
parent
62565ce7ce
commit
e099a5bc67
7 changed files with 16 additions and 12 deletions
|
@ -28,7 +28,6 @@
|
|||
#include "nix/expr/print.hh"
|
||||
#include "nix/util/ref.hh"
|
||||
#include "nix/expr/value.hh"
|
||||
#include "nix/fetchers/input-cache.hh"
|
||||
|
||||
#include "nix/util/strings.hh"
|
||||
|
||||
|
@ -459,7 +458,6 @@ ProcessLineResult NixRepl::processLine(std::string line)
|
|||
|
||||
else if (command == ":l" || command == ":load") {
|
||||
state->resetFileCache();
|
||||
fetchers::InputCache::getCache()->clear();
|
||||
loadFile(arg);
|
||||
}
|
||||
|
||||
|
@ -469,7 +467,6 @@ ProcessLineResult NixRepl::processLine(std::string line)
|
|||
|
||||
else if (command == ":r" || command == ":reload") {
|
||||
state->resetFileCache();
|
||||
fetchers::InputCache::getCache()->clear();
|
||||
reloadFiles();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue