diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-12T17·03+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-12T17·03+0000 |
commit | 0008b0006db59ea8fccfe041cf8d87f05abb427d (patch) | |
tree | 70adf7ea0596a5128c7e2f50fbed2fdae5510cea /src/nix-store | |
parent | ac36c6cd44e8f46573ce3df0749d2f062fa35f3b (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.cc | 2 |
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); } |