about summary refs log tree commit diff
path: root/src/nix-env/main.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-01-26T23·18+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-01-26T23·18+0000
commitdb2275cb9968fc337bfac14805651d6c78c7213a (patch)
treef60a83b53caa680f6c4aa6c2085b2fc1c6cf4b69 /src/nix-env/main.cc
parent1029716a8a8934fe1f0502e3da0d65646f45c911 (diff)
* Oops, the "I" bit in "nix-env -qas" was broken. Reported by Nicolae Vintila.
Diffstat (limited to 'src/nix-env/main.cc')
-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 4dc9158e65..b913d408ef 100644
--- a/src/nix-env/main.cc
+++ b/src/nix-env/main.cc
@@ -750,7 +750,7 @@ static void opQuery(Globals & globals,
     /* Obtain derivation information from the specified source. */
     UserEnvElems availElems, installedElems;
 
-    if (source == sInstalled || compareVersions) {
+    if (source == sInstalled || compareVersions || printStatus) {
         installedElems = queryInstalled(globals.state, globals.profile);
     }