1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 19:41:48 +02:00

* 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.
This commit is contained in:
Eelco Dolstra 2008-12-12 17:03:18 +00:00
parent ac36c6cd44
commit 0008b0006d
4 changed files with 38 additions and 34 deletions

View file

@ -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);
}