1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00

Fixed recursive build error

This commit is contained in:
Wouter den Breejen 2007-10-12 14:01:43 +00:00
parent 0ee803935e
commit 60a32fcbf3
3 changed files with 13 additions and 7 deletions

View file

@ -2828,6 +2828,8 @@ void ensurePathTxn(const Transaction & txn, const Path & path)
if (isValidPathTxn(txn, path))
return;
printMsg(lvlError, format("ensurePathTxn(%1%)") % path);
Worker worker;
GoalPtr goal = worker.makeSubstitutionGoal(path);
Goals goals = singleton<Goals>(goal);