Require flake.nix to be an attrset (not a non-trivial thunk)

This commit is contained in:
Eelco Dolstra
2019-09-09 17:34:38 +02:00
parent c87840ae14
commit f97d3753a1
4 changed files with 28 additions and 8 deletions
+5
View File
@@ -170,6 +170,11 @@ struct Value
{
return type == tList1 ? 1 : type == tList2 ? 2 : bigList.size;
}
/* Check whether forcing this value requires a trivial amount of
computation. In particular, function applications are
non-trivial. */
bool isTrivial() const;
};