aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-11-06 15:24:31 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-11-06 15:24:31 +0000
commit90e26d392c7ac4c2a69163f881f73916e6fba3c1 (patch)
treebd72c5df6359231f205dd50a1685a809d89d5340
parentcfaea07444a0011aa7d91ce1bcc8f105b8f283fa (diff)
* Allow null in derivation bindings.
-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 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);
}