#pragma once #include "eval.hh" namespace nix { std::shared_ptr newEvalState(ref store) { auto searchPath = Strings(); auto evalState = #if HAVE_BOEHMGC std::allocate_shared( traceable_allocator(), searchPath, store, store) #else std::make_shared( searchPath, store, store) #endif ; return evalState; } }