about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2019-12-01T00·04-0500
committerEelco Dolstra <edolstra@gmail.com>2020-01-04T12·39+0100
commit9b4e99801f26e985b6fd61ee1e8154c30cc5efa1 (patch)
treeb446ff047b5bf65ebb37b7b1d3ae14f75dbae839
parent8be0440d440df5544b682fcbf21c105f18d538b0 (diff)
Fix typos
(cherry picked from commit 8737980e75bf14cae278f596ac26577bec94b3f9)
-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 ab1c09aa25da..4ad9f65197ef 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 ba8990755675..a751b4662a79 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -561,7 +561,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