diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-08-10 13:51:07 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-08-10 13:51:07 +0200 |
commit | b6ee5e5bf0a680d7f1e3df90b711f77a603c82c3 (patch) | |
tree | 9f05383f53538ad27638c19dd9aa99c761407f21 /src/libstore/optimise-store.cc | |
parent | af765a8eab288eb638100e027b97a1d15e4e3026 (diff) |
Style fix
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 462f8e72a..b736307b3 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; } |