about summary refs log tree commit diff
path: root/src/fix-ng/primops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fix-ng/primops.cc')
-rw-r--r--src/fix-ng/primops.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fix-ng/primops.cc b/src/fix-ng/primops.cc
index df5747edd48b..fb923ed46e5c 100644
--- a/src/fix-ng/primops.cc
+++ b/src/fix-ng/primops.cc
@@ -114,6 +114,8 @@ static string processBinding(EvalState & state, Expr e, NixExpr & ne)
         }
 	return s;
     }
+
+    if (ATmatch(e, "Null")) return "";
     
     throw badTerm("invalid derivation binding", e);
 }