about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 06bf671e2a20..f1a600103d61 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -56,6 +56,7 @@ static Expr substArgs(EvalState & state,
 
         ATermList valids;
         if (matchValidValues(valids2, valids)) {
+            value = evalExpr(state, value);
             bool found = false;
             for (ATermIterator j(valids); j; ++j) {
                 Expr v = evalExpr(state, *j);