about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-01T16·47+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-01T16·47+0000
commit9e4ffc43a2a6b67643765efd48198f218fcf0530 (patch)
treed30e3bfac555ec62e34dec43e73894cc1d85c411
parent3eba483692f6c353dd20341b9d3fea144271ba69 (diff)
* The "S" bit should be based on the output path, not the derivation path.
-rw-r--r--src/nix-env/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc
index b913d408efc6..043316d11261 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" : "-")