Require flake.nix to be an attrset (not a non-trivial thunk)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user