aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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" : "-")