Delete EvalState::addToSearchPath

This function is now trivial enough that it doesn't need to exist.

`EvalState` can still be initialized with a custom search path, but we
don't have a need to mutate the search path after it has been
constructed, and I don't see why we would need to in the future.

Fixes #8229
This commit is contained in:
John Ericson
2023-08-18 14:04:33 -04:00
parent 665ad4f7c5
commit fe71faa920
3 changed files with 2 additions and 10 deletions
-2
View File
@@ -341,8 +341,6 @@ public:
std::shared_ptr<Store> buildStore = nullptr);
~EvalState();
void addToSearchPath(SearchPath::Elem && elem);
SearchPath getSearchPath() { return searchPath; }
/**