Style fix

This commit is contained in:
Eelco Dolstra 2017-08-10 13:51:07 +02:00
parent af765a8eab
commit b6ee5e5bf0
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -104,7 +104,8 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path, InodeHa
https://github.com/NixOS/nix/issues/1443 for more discussion. */
if (std::regex_search(path, std::regex("\\.app/Contents/PkgInfo$")) ||
std::regex_search(path, std::regex("\\.app/Contents/Resources/.+\\.lproj$"))) {
std::regex_search(path, std::regex("\\.app/Contents/Resources/.+\\.lproj$")))
{
debug(format("'%1%' is not allowed to be linked in macOS") % path);
return;
}