about summary refs log tree commit diff
path: root/src/fix-ng/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-11-02T17·36+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-11-02T17·36+0000
commit40986312bb00f0101a6634db42080daee03f887b (patch)
treefab15bbbd1debf7ab48c88b73e45943594718903 /src/fix-ng/primops.cc
parentadf9a45469f55258446d383333aa2ca79cfb0536 (diff)
* Boolean constants.
Diffstat (limited to 'src/fix-ng/primops.cc')
-rw-r--r--src/fix-ng/primops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fix-ng/primops.cc b/src/fix-ng/primops.cc
index 7d060124b7..f887d265f3 100644
--- a/src/fix-ng/primops.cc
+++ b/src/fix-ng/primops.cc
@@ -84,8 +84,8 @@ static string processBinding(EvalState & state, Expr e, NixExpr & ne)
 
     if (ATmatch(e, "Str(<str>)", &s)) return s;
     if (ATmatch(e, "Uri(<str>)", &s)) return s;
-    if (ATmatch(e, "True")) return "1";
-    if (ATmatch(e, "False")) return "";
+    if (ATmatch(e, "Bool(True)")) return "1";
+    if (ATmatch(e, "Bool(False)")) return "";
 
     if (ATmatch(e, "Attrs([<list>])", &es)) {
         Expr a = queryAttr(e, "type");