mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
SourceExprCommand::getSourceExpr(): Allocate more space
Fixes #3140.
(cherry picked from commit 389a2cebed
)
This commit is contained in:
parent
c7b4bf1c9c
commit
1ac8c0269a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue