From 9e4ffc43a2a6b67643765efd48198f218fcf0530 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Feb 2006 16:47:51 +0000 Subject: [PATCH] * The "S" bit should be based on the output path, not the derivation path. --- src/nix-env/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index b913d408e..043316d11 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -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" : "-")