mirror of
https://github.com/NixOS/nix
synced 2024-09-19 10:50:24 -04:00
Fix error in the no-GC build
This commit is contained in:
parent
5c497a992b
commit
05580a373f
|
@ -126,9 +126,11 @@ ref<EvalState> EvalCommand::getEvalState()
|
|||
{
|
||||
if (!evalState) {
|
||||
evalState =
|
||||
std::allocate_shared<EvalState>(
|
||||
#if HAVE_BOEHMGC
|
||||
std::allocate_shared<EvalState>(
|
||||
traceable_allocator<EvalState>(),
|
||||
#else
|
||||
std::make_shared<EvalState>(
|
||||
#endif
|
||||
lookupPath, getEvalStore(), evalSettings, getStore())
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue