diff options
Diffstat (limited to 'src/libstore/optimise-store.cc')
-rw-r--r-- | src/libstore/optimise-store.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc index 462f8e72a8d1..b736307b31b4 100644 --- a/src/libstore/optimise-store.cc +++ b/src/libstore/optimise-store.cc @@ -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; } |