From 90e26d392c7ac4c2a69163f881f73916e6fba3c1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 6 Nov 2003 15:24:31 +0000 Subject: [PATCH] * Allow null in derivation bindings. --- src/fix-ng/primops.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fix-ng/primops.cc b/src/fix-ng/primops.cc index df5747edd..fb923ed46 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); }