mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
* Oops.
This commit is contained in:
parent
367fe8f564
commit
1c9df27fe0
@ -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…
Reference in New Issue
Block a user