mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
Merge pull request #10934 from Artoria2e5/patch-1
optimize-store.cc: Update macos exclusion comments
This commit is contained in:
commit
613d598daa
1 changed files with 4 additions and 3 deletions
|
@ -98,9 +98,10 @@ void LocalStore::optimisePath_(Activity * act, OptimiseStats & stats,
|
||||||
|
|
||||||
#if __APPLE__
|
#if __APPLE__
|
||||||
/* HFS/macOS has some undocumented security feature disabling hardlinking for
|
/* HFS/macOS has some undocumented security feature disabling hardlinking for
|
||||||
special files within .app dirs. *.app/Contents/PkgInfo and
|
special files within .app dirs. Known affected paths include
|
||||||
*.app/Contents/Resources/\*.lproj seem to be the only paths affected. See
|
*.app/Contents/{PkgInfo,Resources/\*.lproj,_CodeSignature} and .DS_Store.
|
||||||
https://github.com/NixOS/nix/issues/1443 for more discussion. */
|
See https://github.com/NixOS/nix/issues/1443 and
|
||||||
|
https://github.com/NixOS/nix/pull/2230 for more discussion. */
|
||||||
|
|
||||||
if (std::regex_search(path, std::regex("\\.app/Contents/.+$")))
|
if (std::regex_search(path, std::regex("\\.app/Contents/.+$")))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue