aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2019-11-30 19:04:14 -0500
committerBrian Wignall <brianwignall@gmail.com>2019-11-30 19:04:14 -0500
commit8737980e75bf14cae278f596ac26577bec94b3f9 (patch)
tree8612400eefb25d1e235caffaf3e405cb4609932c
parentf102d793f12943b48bfaa13f4a906d7013e0c88c (diff)
Fix typos
-rw-r--r--src/libstore/globals.hh2
-rw-r--r--src/libstore/store-api.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 9f395425a..41e511c6c 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -319,7 +319,7 @@ public:
"A program to run just before a build to set derivation-specific build settings."};
Setting<std::string> postBuildHook{this, "", "post-build-hook",
- "A program to run just after each succesful build."};
+ "A program to run just after each successful build."};
Setting<std::string> netrcFile{this, fmt("%s/%s", nixConfDir, "netrc"), "netrc-file",
"Path to the netrc file used to obtain usernames/passwords for downloads."};
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index ec32e995d..8e4b133d5 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -569,7 +569,7 @@ public:
unsigned long long & downloadSize, unsigned long long & narSize);
/* Sort a set of paths topologically under the references
- relation. If p refers to q, then p preceeds q in this list. */
+ relation. If p refers to q, then p precedes q in this list. */
Paths topoSortPaths(const PathSet & paths);
/* Export multiple paths in the format expected by ‘nix-store