about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-03-06T15·39+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-06T15·43+0100
commite659978cedbc9e03a564be625798ebdf5b496133 (patch)
tree39751f2fe35ee6fca3ad5ae025332f1c9d0a62d9 /src
parent17c71334e16f6c65a549d95312d3f03e3c51ed98 (diff)
Fix typos: s/the the/the/
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops.cc2
-rw-r--r--src/libstore/gc.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index a4363c678a16..9d18dc54ebcd 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1213,7 +1213,7 @@ static void prim_head(EvalState & state, const Pos & pos, Value * * args, Value
 }
 
 
-/* Return a list consisting of everything but the the first element of
+/* Return a list consisting of everything but the first element of
    a list.  Warning: this function takes O(n) time, so you probably
    don't want to use it!  */
 static void prim_tail(EvalState & state, const Pos & pos, Value * * args, Value & v)
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index 7959a592d987..0340262fdce9 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -96,7 +96,7 @@ Path addPermRoot(StoreAPI & store, const Path & _storePath,
                 "(are you running nix-build inside the store?)") % gcRoot);
 
     if (indirect) {
-        /* Don't clobber the the link if it already exists and doesn't
+        /* Don't clobber the link if it already exists and doesn't
            point to the Nix store. */
         if (pathExists(gcRoot) && (!isLink(gcRoot) || !isInStore(readLink(gcRoot))))
             throw Error(format("cannot create symlink ‘%1%’; already exists") % gcRoot);