about summary refs log tree commit diff
path: root/src/libexpr/nix.sdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/nix.sdf')
-rw-r--r--src/libexpr/nix.sdf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/nix.sdf b/src/libexpr/nix.sdf
index a123829e3590..7c4b2e3c56c5 100644
--- a/src/libexpr/nix.sdf
+++ b/src/libexpr/nix.sdf
@@ -81,6 +81,7 @@ exports
   > Expr "&&" Expr -> Expr
   > Expr "||" Expr -> Expr
   > Expr "->" Expr -> Expr
+  > "if" Expr "then" Expr "else" Expr -> Expr
   > "assert" Expr ";" Expr -> Expr
   > "with" Expr ";" Expr -> Expr
   > Id ":" Expr -> Expr