SourceExprCommand::getSourceExpr(): Allocate more space

Fixes #3140.

(cherry picked from commit 389a2cebed7cd72bda524ece0a56af2888cd80b6)
This commit is contained in:
Eelco Dolstra 2019-10-21 13:14:39 +02:00
parent c7b4bf1c9c
commit 1ac8c0269a

View file

@ -39,7 +39,7 @@ Value * SourceExprCommand::getSourceExpr(EvalState & state)
auto searchPath = state.getSearchPath();
state.mkAttrs(*vSourceExpr, searchPath.size() + 1);
state.mkAttrs(*vSourceExpr, 1024);
mkBool(*state.allocAttr(*vSourceExpr, sToplevel), true);