diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-07-31T08·21+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-07-31T08·21+0200 |
commit | 561e977f51c1d9ec55e4a70791958d4e214df465 (patch) | |
tree | 65a667fbc746f4ff8efcaca3c0a58565985f26a5 /src/nix/search.cc | |
parent | c7654bc491d9ce7c1fbadecd7769418fa79a2060 (diff) | |
parent | 2fd8f8bb99a2832b3684878c020ba47322e79332 (diff) |
Merge branch 'quotes' of https://github.com/Mic92/nix-1
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r-- | src/nix/search.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc index d3e018876a09..5bb376f8f2d1 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -76,7 +76,7 @@ struct CmdSearch : SourceExprCommand, MixJSON std::function<void(Value *, std::string, bool, JSONObject *)> doExpr; doExpr = [&](Value * v, std::string attrPath, bool toplevel, JSONObject * cache) { - debug("at attribute ‘%s’", attrPath); + debug("at attribute '%s'", attrPath); try { @@ -152,7 +152,7 @@ struct CmdSearch : SourceExprCommand, MixJSON auto attrs = v->attrs; Bindings::iterator j = attrs->find(sRecurse); if (j == attrs->end() || !state->forceBool(*j->value, *j->pos)) { - debug("skip attribute ‘%s’", attrPath); + debug("skip attribute '%s'", attrPath); return; } } @@ -175,7 +175,7 @@ struct CmdSearch : SourceExprCommand, MixJSON } catch (AssertionError & e) { } catch (Error & e) { if (!toplevel) { - e.addPrefix(fmt("While evaluating the attribute ‘%s’:\n", attrPath)); + e.addPrefix(fmt("While evaluating the attribute '%s':\n", attrPath)); throw; } } @@ -203,7 +203,7 @@ struct CmdSearch : SourceExprCommand, MixJSON doExpr(getSourceExpr(*state), "", true, cache.get()); if (rename(tmpFile.c_str(), jsonCacheFileName.c_str()) == -1) - throw SysError("cannot rename ‘%s’ to ‘%s’", tmpFile, jsonCacheFileName); + throw SysError("cannot rename '%s' to '%s'", tmpFile, jsonCacheFileName); } } }; |