mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
Fix error in the no-GC build
This commit is contained in:
parent
5c497a992b
commit
05580a373f
1 changed files with 3 additions and 1 deletions
|
|
@ -126,9 +126,11 @@ ref<EvalState> EvalCommand::getEvalState()
|
||||||
{
|
{
|
||||||
if (!evalState) {
|
if (!evalState) {
|
||||||
evalState =
|
evalState =
|
||||||
std::allocate_shared<EvalState>(
|
|
||||||
#if HAVE_BOEHMGC
|
#if HAVE_BOEHMGC
|
||||||
|
std::allocate_shared<EvalState>(
|
||||||
traceable_allocator<EvalState>(),
|
traceable_allocator<EvalState>(),
|
||||||
|
#else
|
||||||
|
std::make_shared<EvalState>(
|
||||||
#endif
|
#endif
|
||||||
lookupPath, getEvalStore(), evalSettings, getStore())
|
lookupPath, getEvalStore(), evalSettings, getStore())
|
||||||
;
|
;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue