mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
Style fix
This commit is contained in:
parent
af765a8eab
commit
b6ee5e5bf0
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path, InodeHa
|
||||||
https://github.com/NixOS/nix/issues/1443 for more discussion. */
|
https://github.com/NixOS/nix/issues/1443 for more discussion. */
|
||||||
|
|
||||||
if (std::regex_search(path, std::regex("\\.app/Contents/PkgInfo$")) ||
|
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);
|
debug(format("'%1%' is not allowed to be linked in macOS") % path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue