aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/flake.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-04-19 10:58:08 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-04-19 10:58:08 +0200
commit6e4210d8ce76f52d9fd717660ea24b98ba780843 (patch)
tree1fb589c0a105cdfa1fdab82b684a89eec2833a69 /src/libexpr/primops/flake.cc
parent160b974fb0623df436c9e834f6d4db62dfda02d2 (diff)
Fix assertion failure
Diffstat (limited to 'src/libexpr/primops/flake.cc')
-rw-r--r--src/libexpr/primops/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/flake.cc b/src/libexpr/primops/flake.cc
index 0bf666a98..2415faf5e 100644
--- a/src/libexpr/primops/flake.cc
+++ b/src/libexpr/primops/flake.cc
@@ -415,7 +415,7 @@ void callFlake(EvalState & state, const Dependencies & flake, Value & v)
// Construct the resulting attrset '{description, provides,
// ...}'. This attrset is passed lazily as an argument to 'provides'.
- state.mkAttrs(v, flake.flakeDeps.size() + flake.nonFlakeDeps.size() + 4);
+ state.mkAttrs(v, flake.flakeDeps.size() + flake.nonFlakeDeps.size() + 8);
for (auto & dep : flake.flakeDeps) {
auto vFlake = state.allocAttr(v, dep.flake.id);