diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-env/main.cc | 2 |
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" : "-") |