aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/optimise-store.cc
diff options
context:
space:
mode:
authordavidak <git@davidak.de>2017-07-30 12:28:50 +0200
committerdavidak <git@davidak.de>2017-07-30 12:28:50 +0200
commitfcb8d6a7a088622022364bde6534b2e4e804e4ed (patch)
tree9a9e1cdf922d88cae82100a7005a45c38677502b /src/libstore/optimise-store.cc
parent92bcb61127abd9da6ee1c11a53bf7b8da72f0c57 (diff)
replace "OS X" with "macOS"
Diffstat (limited to 'src/libstore/optimise-store.cc')
-rw-r--r--src/libstore/optimise-store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index 8e8002a30..ba1ebc370 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -98,14 +98,14 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path, InodeHa
throw SysError(format("getting attributes of path ‘%1%’") % path);
#if __APPLE__
- /* HFS/OS X 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
*.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$"))) {
- debug(format("‘%1%’ is not allowed to be linked in OS X") % path);
+ debug(format("‘%1%’ is not allowed to be linked in macOS") % path);
return;
}
#endif