From 3d221a7bb13a864a50c549f66032ead2bf5aaec0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Jul 2014 11:27:34 +0200 Subject: Rename nixPath to __nixPath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The name ‘nixPath’ breaks existing code. --- src/libexpr/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/parser.y') diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index a27c53043c74..a19269b33cc5 100644 --- a/src/libexpr/parser.y +++ b/src/libexpr/parser.y @@ -388,7 +388,7 @@ expr_simple string path($1 + 1, strlen($1) - 2); $$ = new ExprApp(CUR_POS, new ExprApp(new ExprVar(data->symbols.create("__findFile")), - new ExprVar(data->symbols.create("nixPath"))), + new ExprVar(data->symbols.create("__nixPath"))), new ExprString(data->symbols.create(path))); } | URI { $$ = new ExprString(data->symbols.create($1)); } -- cgit 1.4.1