diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-06 15:24:31 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-11-06 15:24:31 +0000 |
commit | 90e26d392c7ac4c2a69163f881f73916e6fba3c1 (patch) | |
tree | bd72c5df6359231f205dd50a1685a809d89d5340 | |
parent | cfaea07444a0011aa7d91ce1bcc8f105b8f283fa (diff) |
* Allow null in derivation bindings.
-rw-r--r-- | src/fix-ng/primops.cc | 2 |
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); } |