about summary refs log tree commit diff
path: root/src/nix-store
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-12-12T17·03+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-12-12T17·03+0000
commit0008b0006db59ea8fccfe041cf8d87f05abb427d (patch)
tree70adf7ea0596a5128c7e2f50fbed2fdae5510cea /src/nix-store
parentac36c6cd44e8f46573ce3df0749d2f062fa35f3b (diff)
* Simplify deleting .lock files in /nix/store: just don't delete them
  if they belong a path that's currently being built.  This gets rid
  of some Cygwin-specific code.

Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 065d7d4c014d..f6271d56aafd 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -96,7 +96,7 @@ static void opRealise(Strings opFlags, Strings opArgs)
         if (isDerivation(*i)) drvPaths.insert(*i);
     store->buildDerivations(drvPaths);
 
-    foreach (Strings::iterator, i,opArgs)
+    foreach (Strings::iterator, i, opArgs)
         cout << format("%1%\n") % realisePath(*i);
 }