aboutsummaryrefslogtreecommitdiff
path: root/src/nix-build
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-07-30 12:27:57 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-07-30 12:32:45 +0100
commit2fd8f8bb99a2832b3684878c020ba47322e79332 (patch)
tree65a667fbc746f4ff8efcaca3c0a58565985f26a5 /src/nix-build
parentc7654bc491d9ce7c1fbadecd7769418fa79a2060 (diff)
Replace Unicode quotes in user-facing strings by ASCII
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
Diffstat (limited to 'src/nix-build')
-rwxr-xr-xsrc/nix-build/nix-build.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index 769ca8cd0..b36933a0a 100755
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -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);