about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-10T11·51+0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-10T11·51+0200
commitb6ee5e5bf0a680d7f1e3df90b711f77a603c82c3 (patch)
tree9f05383f53538ad27638c19dd9aa99c761407f21
parentaf765a8eab288eb638100e027b97a1d15e4e3026 (diff)
Style fix
-rw-r--r--src/libstore/optimise-store.cc3
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;
     }