diff --git a/src/libfetchers/git.cc b/src/libfetchers/git.cc index 4505a6222..b6313af0c 100644 --- a/src/libfetchers/git.cc +++ b/src/libfetchers/git.cc @@ -756,7 +756,7 @@ struct GitInputScheme : InputScheme if (nix::pathExists(path.abs())) return RestrictedPathError("access to path '%s' is forbidden because it is not under Git control; maybe you should 'git add' it to the repository '%s'?", path, url); else - return RestrictedPathError("path '%s' does not exist in Git reposity '%s'", path, url); + return RestrictedPathError("path '%s' does not exist in Git repository '%s'", path, url); }; return {makeFSInputAccessor(CanonPath(repoInfo.url), listFiles(repoInfo), std::move(makeNotAllowedError)), input};