* The "S" bit should be based on the output path, not the derivation path.

This commit is contained in:
Eelco Dolstra 2006-02-01 16:47:51 +00:00
parent 3eba483692
commit 9e4ffc43a2

View file

@ -790,7 +790,7 @@ static void opQuery(Globals & globals,
Strings columns;
if (printStatus) {
Substitutes subs = querySubstitutes(noTxn, i->queryDrvPath(globals.state));
Substitutes subs = querySubstitutes(noTxn, i->queryOutPath(globals.state));
columns.push_back(
(string) (installed.find(i->queryOutPath(globals.state))
!= installed.end() ? "I" : "-")