mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
* Oops.
This commit is contained in:
parent
367fe8f564
commit
1c9df27fe0
1 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ static void findBestRewrite(const ClassMap::const_iterator & pos,
|
||||||
badPaths.insert(*i);
|
badPaths.insert(*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
printMsg(lvlError, format("cost %1% %2%") % badPaths.size() % showPaths(badPaths));
|
// printMsg(lvlError, format("cost %1% %2%") % badPaths.size() % showPaths(badPaths));
|
||||||
|
|
||||||
if (badPaths.size() < bestCost) {
|
if (badPaths.size() < bestCost) {
|
||||||
bestCost = badPaths.size();
|
bestCost = badPaths.size();
|
||||||
|
|
@ -150,7 +150,7 @@ static Path maybeRewrite(const Path & path, const PathSet & selection,
|
||||||
if (*i != newPath)
|
if (*i != newPath)
|
||||||
rewrites[hashPartOf(*i)] = hashPartOf(newPath);
|
rewrites[hashPartOf(*i)] = hashPartOf(newPath);
|
||||||
|
|
||||||
references.insert(newPath);
|
newReferences.insert(newPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rewrites.size() == 0) {
|
if (rewrites.size() == 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue