diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-06-14 19:00:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 19:00:53 +0200 |
commit | d73e881c81a8bf0522fbd026ddf44a7e1adcb81f (patch) | |
tree | f117ab7b48a050e02aa87b3c91892b80eb3281d3 | |
parent | 85530bcc0b4c61499f90fa6125c19beeb0f4485e (diff) | |
parent | 6d09e4400ce8a2f8ec24b0c934268c6fdb42d482 (diff) |
Merge pull request #2230 from matthewbauer/patch-7
Fix optimise-store.cc to skip more paths on macOS
-rw-r--r-- | src/libstore/optimise-store.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc index 7840167d7..991512f21 100644 --- a/src/libstore/optimise-store.cc +++ b/src/libstore/optimise-store.cc @@ -104,8 +104,7 @@ void LocalStore::optimisePath_(Activity * act, OptimiseStats & stats, *.app/Contents/Resources/\*.lproj seem to be the only paths affected. See 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$"))) + if (std::regex_search(path, std::regex("\\.app/Contents/.+$"))) { debug(format("'%1%' is not allowed to be linked in macOS") % path); return; |