1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +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:
Jörg Thalheim 2017-07-30 12:27:57 +01:00
parent c7654bc491
commit 2fd8f8bb99
86 changed files with 662 additions and 662 deletions

View file

@ -238,7 +238,7 @@ void mainWrapped(int argc, char * * argv)
});
if (packages && fromArgs)
throw UsageError("-p and -E are mutually exclusive");
throw UsageError("'-p' and '-E' are mutually exclusive");
auto store = openStore();
@ -336,7 +336,7 @@ void mainWrapped(int argc, char * * argv)
auto drv = getDerivation(state, v, false);
if (!drv)
throw Error("the bashInteractive attribute in <nixpkgs> did not evaluate to a derivation");
throw Error("the 'bashInteractive' attribute in <nixpkgs> did not evaluate to a derivation");
pathsToBuild.insert(drv->queryDrvPath());
@ -440,7 +440,7 @@ void mainWrapped(int argc, char * * argv)
execvp(shell.c_str(), argPtrs.data());
throw SysError("executing shell %s", shell);
throw SysError("executing shell '%s'", shell);
}
else {
@ -457,7 +457,7 @@ void mainWrapped(int argc, char * * argv)
auto outputName = drvInfo.queryOutputName();
if (outputName == "")
throw Error("derivation %s lacks an outputName attribute", drvPath);
throw Error("derivation '%s' lacks an 'outputName' attribute", drvPath);
pathsToBuild.insert(drvPath + "!" + outputName);