mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Replace Unicode quotes in user-facing strings by ASCII
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
This commit is contained in:
parent
c7654bc491
commit
2fd8f8bb99
86 changed files with 662 additions and 662 deletions
|
@ -65,7 +65,7 @@ void processExpr(EvalState & state, const Strings & attrPaths,
|
|||
/* What output do we want? */
|
||||
string outputName = i.queryOutputName();
|
||||
if (outputName == "")
|
||||
throw Error(format("derivation ‘%1%’ lacks an ‘outputName’ attribute ") % drvPath);
|
||||
throw Error(format("derivation '%1%' lacks an 'outputName' attribute ") % drvPath);
|
||||
|
||||
if (gcRoot == "")
|
||||
printGCWarning();
|
||||
|
@ -164,7 +164,7 @@ int main(int argc, char * * argv)
|
|||
if (findFile) {
|
||||
for (auto & i : files) {
|
||||
Path p = state.findFile(i);
|
||||
if (p == "") throw Error(format("unable to find ‘%1%’") % i);
|
||||
if (p == "") throw Error(format("unable to find '%1%'") % i);
|
||||
std::cout << p << std::endl;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue