This commit is contained in:
Eelco Dolstra 2022-06-02 14:04:03 +02:00
parent 8a0a55fe12
commit 76c71c015b
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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};