diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-10-06 15:51:59 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-10-06 15:51:59 +0000 |
commit | dfbf520ec2748b17638fdc5a911f7b091f1b74a6 (patch) | |
tree | 8d8d5c119214eed5b7a9f13cd844b731e0528c4a /src | |
parent | 62412c5874583364a95eece820744bed53d155cf (diff) |
* Swap the system and version comparion columns.
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-env/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index f0493bb5e..4dc9158e6 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -800,8 +800,6 @@ static void opQuery(Globals & globals, if (printName) columns.push_back(i->name); - if (printSystem) columns.push_back(i->system); - if (compareVersions) { /* Compare this element against the versions of the same named packages in either the set of available elements, @@ -822,6 +820,8 @@ static void opQuery(Globals & globals, columns.push_back(column); } + if (printSystem) columns.push_back(i->system); + if (printDrvPath) columns.push_back( i->queryDrvPath(globals.state) == "" ? "-" : i->queryDrvPath(globals.state)); |