aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-02 18:15:06 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-11-04 15:04:00 +0100
commitacd6bddec706e2f180279ca79a0c1a4abac416d6 (patch)
tree8c44c3a63f0698405258f96cfa7c2da51431e803 /src/libexpr/eval.hh
parentcbfbf71e0821fd79ae4837e7fe03c051437f43dd (diff)
Fix derivation primop
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index f87dcdd8e..65cf04b57 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -277,6 +277,8 @@ private:
Value * addConstant(const string & name, Value & v);
+ void addConstant(const string & name, Value * v);
+
constexpr static size_t maxPrimOpArity = 3;
Value * addPrimOp(const string & name,